#CCC302

#ccc302 ≈ Citrine

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

#ccc302 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 76.47% green and 0.78% blue; printed in CMYK it uses 0% cyan, 4.41% magenta, 99.02% yellow and 20% black. Its hue angle is 57.33°, with 98.06% saturation and 40.39% 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.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.57.

Description generated from the measured properties of this color.

Conversions of #ccc302 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.5187

Readable text 1.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.37:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c4c097 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #d9c123 ≈ 1.27% of males
Tritanopia #dcb5a6 ≈ 0.0001% of males
Protanomaly #d2be00 ≈ 1.08% of males
Deuteranomaly #d4c21a ≈ 4.63% of males
Tritanomaly #d6bb83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ccc302  rgb(204, 195, 2)  hsl(57, 98%, 40%)  Citrine
#020bcc  rgb(2, 11, 204)  hsl(237, 98%, 40%)  Medium Blue
#02ccc3  rgb(2, 204, 195)  hsl(177, 98%, 40%)  Medium Turquoise
#c302cc  rgb(195, 2, 204)  hsl(297, 98%, 40%)  Electric Purple