#CCCA1A

#ccca1a ≈ Citrine

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#ccca1a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 79.22% green and 10.2% blue; printed in CMYK it uses 0% cyan, 0.98% magenta, 87.25% yellow and 20% black. Its hue angle is 59.33°, with 77.39% saturation and 45.1% 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 brand accents. Black text on this color reaches a contrast ratio of 12.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 5.01.

Description generated from the measured properties of this color.

Conversions of #ccca1a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cccc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5515

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.03:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #c7c69d ≈ 0.001% of males
Protanopia #dbc100 ≈ 1.01% of males
Deuteranopia #dec62f ≈ 1.27% of males
Tritanopia #dbbcac ≈ 0.0001% of males
Protanomaly #d5c500 ≈ 1.08% of males
Deuteranomaly #d7c828 ≈ 4.63% of males
Tritanomaly #d5c28a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccca1a {
  color: #ccca1a;
}
Background
.bg-ccca1a {
  background-color: #ccca1a;
  color: #000000;
}
Border
.border-ccca1a {
  border: 2px solid #ccca1a;
}
CSS variables
:root {
  --color-primary: #ccca1a;
  --color-primary-rgb: 204 202 26;
  --color-primary-hsl: 59 77% 45%;
}
Gradient
.gradient-ccca1a {
  background: linear-gradient(135deg, #ccca1a, #75cc1a);
}
Colored shadow
.shadow-ccca1a {
  box-shadow: 0 8px 24px rgb(204 202 26 / 0.35);
}

Citrine
#ccca1a  rgb(204, 202, 26)  hsl(59, 77%, 45%)  Citrine
#1a1ccc  rgb(26, 28, 204)  hsl(239, 77%, 45%)  Medium Blue
#1accca  rgb(26, 204, 202)  hsl(179, 77%, 45%)  Robin Egg Blue
#ca1acc  rgb(202, 26, 204)  hsl(299, 77%, 45%)  Medium Orchid