#CCC508

#ccc508 ≈ Citrine

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

#ccc508 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 77.25% green and 3.14% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 96.08% yellow and 20% black. Its hue angle is 57.86°, with 92.45% saturation and 41.57% 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 11.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.58.

Description generated from the measured properties of this color.

Conversions of #ccc508 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.5279

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c5c299 ≈ 0.001% of males
Protanopia #d7bd00 ≈ 1.01% of males
Deuteranopia #dac326 ≈ 1.27% of males
Tritanopia #dcb7a8 ≈ 0.0001% of males
Protanomaly #d3c000 ≈ 1.08% of males
Deuteranomaly #d5c41d ≈ 4.63% of males
Tritanomaly #d6bd85 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc508 {
  color: #ccc508;
}
Background
.bg-ccc508 {
  background-color: #ccc508;
  color: #000000;
}
Border
.border-ccc508 {
  border: 2px solid #ccc508;
}
CSS variables
:root {
  --color-primary: #ccc508;
  --color-primary-rgb: 204 197 8;
  --color-primary-hsl: 58 92% 42%;
}
Gradient
.gradient-ccc508 {
  background: linear-gradient(135deg, #ccc508, #71cc08);
}
Colored shadow
.shadow-ccc508 {
  box-shadow: 0 8px 24px rgb(204 197 8 / 0.35);
}

Citrine
#ccc508  rgb(204, 197, 8)  hsl(58, 92%, 42%)  Citrine
#080fcc  rgb(8, 15, 204)  hsl(238, 92%, 42%)  Medium Blue
#08ccc5  rgb(8, 204, 197)  hsl(178, 92%, 42%)  Robin Egg Blue
#c508cc  rgb(197, 8, 204)  hsl(298, 92%, 42%)  Electric Purple