#CCC404

#ccc404 ≈ Citrine

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

#ccc404 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 76.86% green and 1.57% blue; printed in CMYK it uses 0% cyan, 3.92% magenta, 98.04% yellow and 20% black. Its hue angle is 57.6°, with 96.15% saturation and 40.78% 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.47:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.56.

Description generated from the measured properties of this color.

Conversions of #ccc404 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.5233

Readable text 1.83:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.47:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bfbfbf ≈ 0.003% of males
Achromatomaly #c5c198 ≈ 0.001% of males
Protanopia #d6bc00 ≈ 1.01% of males
Deuteranopia #d9c224 ≈ 1.27% of males
Tritanopia #dcb6a7 ≈ 0.0001% of males
Protanomaly #d2bf00 ≈ 1.08% of males
Deuteranomaly #d4c31b ≈ 4.63% of males
Tritanomaly #d6bc84 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc404 {
  color: #ccc404;
}
Background
.bg-ccc404 {
  background-color: #ccc404;
  color: #000000;
}
Border
.border-ccc404 {
  border: 2px solid #ccc404;
}
CSS variables
:root {
  --color-primary: #ccc404;
  --color-primary-rgb: 204 196 4;
  --color-primary-hsl: 58 96% 41%;
}
Gradient
.gradient-ccc404 {
  background: linear-gradient(135deg, #ccc404, #70cc04);
}
Colored shadow
.shadow-ccc404 {
  box-shadow: 0 8px 24px rgb(204 196 4 / 0.35);
}

Citrine
#ccc404  rgb(204, 196, 4)  hsl(58, 96%, 41%)  Citrine
#040ccc  rgb(4, 12, 204)  hsl(238, 96%, 41%)  Medium Blue
#04ccc4  rgb(4, 204, 196)  hsl(178, 96%, 41%)  Robin Egg Blue
#c404cc  rgb(196, 4, 204)  hsl(298, 96%, 41%)  Electric Purple