#C8A002

#c8a002 ≈ Goldenrod

  • yellow
  • Lightness: low
  • Saturation: vivid
  • Warm

#c8a002 is a color from the yellow family, with low lightness and vivid saturation. In the RGB model it is made of 78.43% red, 62.75% green and 0.78% blue; printed in CMYK it uses 0% cyan, 20% magenta, 99% yellow and 21.57% black. Its hue angle is 47.88°, with 98.02% saturation and 39.61% 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.49:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 4.43.

Description generated from the measured properties of this color.

Conversions of #c8a002 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.3743

Readable text 2.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.49:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #b4a382 ≈ 0.001% of males
Protanopia #b49e00 ≈ 1.01% of males
Deuteranopia #bea918 ≈ 1.27% of males
Tritanopia #da9188 ≈ 0.0001% of males
Protanomaly #bc9f00 ≈ 1.08% of males
Deuteranomaly #c2a611 ≈ 4.63% of males
Tritanomaly #d3976b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Goldenrod
#c8a002  rgb(200, 160, 2)  hsl(48, 98%, 40%)  Goldenrod
#022ac8  rgb(2, 42, 200)  hsl(228, 98%, 40%)  Persian Blue
#02c8a0  rgb(2, 200, 160)  hsl(168, 98%, 40%)  Caribbean Green
#a002c8  rgb(160, 2, 200)  hsl(288, 98%, 40%)  Dark Violet