#CFB222

#cfb222 ≈ Old Gold

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

#cfb222 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 69.8% green and 13.33% blue; printed in CMYK it uses 0% cyan, 14.01% magenta, 83.57% yellow and 18.82% black. Its hue angle is 49.94°, with 71.78% saturation and 47.25% 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 10.04:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.05.

Description generated from the measured properties of this color.

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

Readable text 2.09:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b3b3b3 ≈ 0.003% of males
Achromatomaly #bfb390 ≈ 0.001% of males
Protanopia #c5ae00 ≈ 1.01% of males
Deuteranopia #cdb72e ≈ 1.27% of males
Tritanopia #e0a398 ≈ 0.0001% of males
Protanomaly #c9b007 ≈ 1.08% of males
Deuteranomaly #ceb52a ≈ 4.63% of males
Tritanomaly #d9a97a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfb222 {
  color: #cfb222;
}
Background
.bg-cfb222 {
  background-color: #cfb222;
  color: #000000;
}
Border
.border-cfb222 {
  border: 2px solid #cfb222;
}
CSS variables
:root {
  --color-primary: #cfb222;
  --color-primary-rgb: 207 178 34;
  --color-primary-hsl: 50 72% 47%;
}
Gradient
.gradient-cfb222 {
  background: linear-gradient(135deg, #cfb222, #95cf22);
}
Colored shadow
.shadow-cfb222 {
  box-shadow: 0 8px 24px rgb(207 178 34 / 0.35);
}

Old Gold
#cfb222  rgb(207, 178, 34)  hsl(50, 72%, 47%)  Old Gold
#223fcf  rgb(34, 63, 207)  hsl(230, 72%, 47%)  Persian Blue
#22cfb2  rgb(34, 207, 178)  hsl(170, 72%, 47%)  Medium Aquamarine
#b222cf  rgb(178, 34, 207)  hsl(290, 72%, 47%)  Dark Orchid