#CFBF21

#cfbf21 ≈ Old Gold

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#cfbf21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 74.9% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.73% magenta, 84.06% yellow and 18.82% black. Its hue angle is 54.48°, with 72.5% saturation and 47.06% 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 brand accents. Black text on this color reaches a contrast ratio of 11.13:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.45.

Description generated from the measured properties of this color.

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

Readable text 1.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.13:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c4be97 ≈ 0.001% of males
Protanopia #d1b900 ≈ 1.01% of males
Deuteranopia #d6c030 ≈ 1.27% of males
Tritanopia #dfb1a3 ≈ 0.0001% of males
Protanomaly #d0bb00 ≈ 1.08% of males
Deuteranomaly #d3bf2b ≈ 4.63% of males
Tritanomaly #d9b783 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfbf21 {
  color: #cfbf21;
}
Background
.bg-cfbf21 {
  background-color: #cfbf21;
  color: #000000;
}
Border
.border-cfbf21 {
  border: 2px solid #cfbf21;
}
CSS variables
:root {
  --color-primary: #cfbf21;
  --color-primary-rgb: 207 191 33;
  --color-primary-hsl: 54 73% 47%;
}
Gradient
.gradient-cfbf21 {
  background: linear-gradient(135deg, #cfbf21, #88cf21);
}
Colored shadow
.shadow-cfbf21 {
  box-shadow: 0 8px 24px rgb(207 191 33 / 0.35);
}

Old Gold
#cfbf21  rgb(207, 191, 33)  hsl(54, 73%, 47%)  Old Gold
#2131cf  rgb(33, 49, 207)  hsl(234, 73%, 47%)  Persian Blue
#21cfbf  rgb(33, 207, 191)  hsl(174, 73%, 47%)  Turquoise
#bf21cf  rgb(191, 33, 207)  hsl(294, 73%, 47%)  Electric Purple