#CFB331

#cfb331 ≈ Old Gold

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

#cfb331 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 70.2% green and 19.22% blue; printed in CMYK it uses 0% cyan, 13.53% magenta, 76.33% yellow and 18.82% black. Its hue angle is 49.37°, with 62.2% saturation and 50.2% 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.15:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.01.

Description generated from the measured properties of this color.

Conversions of #cfb331 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.4573

Readable text 2.07:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b4b4b4 ≈ 0.003% of males
Achromatomaly #bfb492 ≈ 0.001% of males
Protanopia #c6af16 ≈ 1.01% of males
Deuteranopia #cdb83a ≈ 1.27% of males
Tritanopia #e0a59a ≈ 0.0001% of males
Protanomaly #cab123 ≈ 1.08% of males
Deuteranomaly #ceb636 ≈ 4.63% of males
Tritanomaly #d9ab7d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfb331 {
  color: #cfb331;
}
Background
.bg-cfb331 {
  background-color: #cfb331;
  color: #000000;
}
Border
.border-cfb331 {
  border: 2px solid #cfb331;
}
CSS variables
:root {
  --color-primary: #cfb331;
  --color-primary-rgb: 207 179 49;
  --color-primary-hsl: 49 62% 50%;
}
Gradient
.gradient-cfb331 {
  background: linear-gradient(135deg, #cfb331, #9ccf31);
}
Colored shadow
.shadow-cfb331 {
  box-shadow: 0 8px 24px rgb(207 179 49 / 0.35);
}

Old Gold
#cfb331  rgb(207, 179, 49)  hsl(49, 62%, 50%)  Old Gold
#314dcf  rgb(49, 77, 207)  hsl(229, 62%, 50%)  Iris
#31cfb3  rgb(49, 207, 179)  hsl(169, 62%, 50%)  Medium Aquamarine
#b331cf  rgb(179, 49, 207)  hsl(289, 62%, 50%)  Dark Orchid