#CFBA40

#cfba40 ≈ Old Gold

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

#cfba40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 72.94% green and 25.1% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 69.08% yellow and 18.82% black. Its hue angle is 51.19°, with 59.83% saturation and 53.14% 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.75:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.79.

Description generated from the measured properties of this color.

Conversions of #cfba40 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.4875

Readable text 1.95:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #c2ba98 ≈ 0.001% of males
Protanopia #ccb52f ≈ 1.01% of males
Deuteranopia #d1bd47 ≈ 1.27% of males
Tritanopia #dfada1 ≈ 0.0001% of males
Protanomaly #cdb736 ≈ 1.08% of males
Deuteranomaly #d0bc44 ≈ 4.63% of males
Tritanomaly #d9b285 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfba40 {
  color: #cfba40;
}
Background
.bg-cfba40 {
  background-color: #cfba40;
  color: #000000;
}
Border
.border-cfba40 {
  border: 2px solid #cfba40;
}
CSS variables
:root {
  --color-primary: #cfba40;
  --color-primary-rgb: 207 186 64;
  --color-primary-hsl: 51 60% 53%;
}
Gradient
.gradient-cfba40 {
  background: linear-gradient(135deg, #cfba40, #9dcf40);
}
Colored shadow
.shadow-cfba40 {
  box-shadow: 0 8px 24px rgb(207 186 64 / 0.35);
}

Old Gold
#cfba40  rgb(207, 186, 64)  hsl(51, 60%, 53%)  Old Gold
#4055cf  rgb(64, 85, 207)  hsl(231, 60%, 53%)  Iris
#40cfba  rgb(64, 207, 186)  hsl(171, 60%, 53%)  Turquoise
#ba40cf  rgb(186, 64, 207)  hsl(291, 60%, 53%)  Medium Orchid