#CFBA04

#cfba04 ≈ Old Gold

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

#cfba04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 72.94% green and 1.57% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 98.07% yellow and 18.82% black. Its hue angle is 53.79°, with 96.21% saturation and 41.37% 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.68:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.93.

Description generated from the measured properties of this color.

Conversions of #cfba04 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.4839

Readable text 1.97:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 10.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #b9b9b9 ≈ 0.003% of males
Achromatomaly #c2b993 ≈ 0.001% of males
Protanopia #cdb400 ≈ 1.01% of males
Deuteranopia #d3bc21 ≈ 1.27% of males
Tritanopia #e0ab9e ≈ 0.0001% of males
Protanomaly #ceb700 ≈ 1.08% of males
Deuteranomaly #d1bb18 ≈ 4.63% of males
Tritanomaly #d9b17d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Old Gold
#cfba04  rgb(207, 186, 4)  hsl(54, 96%, 41%)  Old Gold
#0419cf  rgb(4, 25, 207)  hsl(234, 96%, 41%)  Medium Blue
#04cfba  rgb(4, 207, 186)  hsl(174, 96%, 41%)  Turquoise
#ba04cf  rgb(186, 4, 207)  hsl(294, 96%, 41%)  Dark Orchid