#CFBC02

#cfbc02 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: vivid
  • Warm

#cfbc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 73.73% green and 0.78% blue; printed in CMYK it uses 0% cyan, 9.18% magenta, 99.03% yellow and 18.82% black. Its hue angle is 54.44°, with 98.09% saturation and 40.98% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and call-to-action buttons. Black text on this color reaches a contrast ratio of 10.85:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #cfbc02 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.4924

Readable text 1.94:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.85:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bababa ≈ 0.003% of males
Achromatomaly #c3bb94 ≈ 0.001% of males
Protanopia #cfb600 ≈ 1.01% of males
Deuteranopia #d4be20 ≈ 1.27% of males
Tritanopia #e0ada0 ≈ 0.0001% of males
Protanomaly #cfb800 ≈ 1.08% of males
Deuteranomaly #d2bd18 ≈ 4.63% of males
Tritanomaly #d9b37f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfbc02 {
  color: #cfbc02;
}
Background
.bg-cfbc02 {
  background-color: #cfbc02;
  color: #000000;
}
Border
.border-cfbc02 {
  border: 2px solid #cfbc02;
}
CSS variables
:root {
  --color-primary: #cfbc02;
  --color-primary-rgb: 207 188 2;
  --color-primary-hsl: 54 98% 41%;
}
Gradient
.gradient-cfbc02 {
  background: linear-gradient(135deg, #cfbc02, #7bcf02);
}
Colored shadow
.shadow-cfbc02 {
  box-shadow: 0 8px 24px rgb(207 188 2 / 0.35);
}

Old Gold
#cfbc02  rgb(207, 188, 2)  hsl(54, 98%, 41%)  Old Gold
#0215cf  rgb(2, 21, 207)  hsl(234, 98%, 41%)  Medium Blue
#02cfbc  rgb(2, 207, 188)  hsl(174, 98%, 41%)  Turquoise
#bc02cf  rgb(188, 2, 207)  hsl(294, 98%, 41%)  Dark Orchid