#CFA40C

#cfa40c ≈ Goldenrod

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

#cfa40c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 64.31% green and 4.71% blue; printed in CMYK it uses 0% cyan, 20.77% magenta, 94.2% yellow and 18.82% black. Its hue angle is 46.77°, with 89.04% saturation and 42.94% 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 8.97:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.23.

Description generated from the measured properties of this color.

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

Readable text 2.34:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.97:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #baa787 ≈ 0.001% of males
Protanopia #b9a200 ≈ 1.01% of males
Deuteranopia #c3ae1d ≈ 1.27% of males
Tritanopia #e1948c ≈ 0.0001% of males
Protanomaly #c2a300 ≈ 1.08% of males
Deuteranomaly #c8aa17 ≈ 4.63% of males
Tritanomaly #da9b6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa40c {
  color: #cfa40c;
}
Background
.bg-cfa40c {
  background-color: #cfa40c;
  color: #000000;
}
Border
.border-cfa40c {
  border: 2px solid #cfa40c;
}
CSS variables
:root {
  --color-primary: #cfa40c;
  --color-primary-rgb: 207 164 12;
  --color-primary-hsl: 47 89% 43%;
}
Gradient
.gradient-cfa40c {
  background: linear-gradient(135deg, #cfa40c, #98cf0c);
}
Colored shadow
.shadow-cfa40c {
  box-shadow: 0 8px 24px rgb(207 164 12 / 0.35);
}

Goldenrod
#cfa40c  rgb(207, 164, 12)  hsl(47, 89%, 43%)  Goldenrod
#0c37cf  rgb(12, 55, 207)  hsl(227, 89%, 43%)  Persian Blue
#0ccfa4  rgb(12, 207, 164)  hsl(167, 89%, 43%)  Caribbean Green
#a40ccf  rgb(164, 12, 207)  hsl(287, 89%, 43%)  Dark Orchid