#CFA002

#cfa002 ≈ Goldenrod

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

#cfa002 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 62.75% green and 0.78% blue; printed in CMYK it uses 0% cyan, 22.71% magenta, 99.03% yellow and 18.82% black. Its hue angle is 46.24°, with 98.09% saturation and 40.98% 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.68:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.72.

Description generated from the measured properties of this color.

Conversions of #cfa002 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.3841

Readable text 2.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.68:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #b8a484 ≈ 0.001% of males
Protanopia #b59f00 ≈ 1.01% of males
Deuteranopia #c1ac17 ≈ 1.27% of males
Tritanopia #e19088 ≈ 0.0001% of males
Protanomaly #c0a000 ≈ 1.08% of males
Deuteranomaly #c7a710 ≈ 4.63% of males
Tritanomaly #da976b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cfa002 {
  color: #cfa002;
}
Background
.bg-cfa002 {
  background-color: #cfa002;
  color: #000000;
}
Border
.border-cfa002 {
  border: 2px solid #cfa002;
}
CSS variables
:root {
  --color-primary: #cfa002;
  --color-primary-rgb: 207 160 2;
  --color-primary-hsl: 46 98% 41%;
}
Gradient
.gradient-cfa002 {
  background: linear-gradient(135deg, #cfa002, #98cf02);
}
Colored shadow
.shadow-cfa002 {
  box-shadow: 0 8px 24px rgb(207 160 2 / 0.35);
}

Goldenrod
#cfa002  rgb(207, 160, 2)  hsl(46, 98%, 41%)  Goldenrod
#0231cf  rgb(2, 49, 207)  hsl(226, 98%, 41%)  Persian Blue
#02cfa0  rgb(2, 207, 160)  hsl(166, 98%, 41%)  Caribbean Green
#a002cf  rgb(160, 2, 207)  hsl(286, 98%, 41%)  Dark Violet