#CCC305

#ccc305 ≈ Citrine

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

#ccc305 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 1.96% blue; printed in CMYK it uses 0% cyan, 4.41% magenta, 97.55% yellow and 20% black. Its hue angle is 57.29°, with 95.22% 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 11.38:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.59.

Description generated from the measured properties of this color.

Conversions of #ccc305 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.5188

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

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c4c098 ≈ 0.001% of males
Protanopia #d5bb00 ≈ 1.01% of males
Deuteranopia #d9c124 ≈ 1.27% of males
Tritanopia #dcb5a6 ≈ 0.0001% of males
Protanomaly #d2be00 ≈ 1.08% of males
Deuteranomaly #d4c21b ≈ 4.63% of males
Tritanomaly #d6bb84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#ccc305  rgb(204, 195, 5)  hsl(57, 95%, 41%)  Citrine
#050ecc  rgb(5, 14, 204)  hsl(237, 95%, 41%)  Medium Blue
#05ccc3  rgb(5, 204, 195)  hsl(177, 95%, 41%)  Medium Turquoise
#c305cc  rgb(195, 5, 204)  hsl(297, 95%, 41%)  Electric Purple