#CCC812

#ccc812 ≈ Citrine

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

#ccc812 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 78.43% green and 7.06% blue; printed in CMYK it uses 0% cyan, 1.96% magenta, 91.18% yellow and 20% black. Its hue angle is 58.71°, with 83.78% saturation and 43.53% 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.84:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.75.

Description generated from the measured properties of this color.

Conversions of #ccc812 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.5419

Readable text 1.77:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.84:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #c6c59b ≈ 0.001% of males
Protanopia #dabf00 ≈ 1.01% of males
Deuteranopia #dcc52a ≈ 1.27% of males
Tritanopia #dcbaaa ≈ 0.0001% of males
Protanomaly #d4c300 ≈ 1.08% of males
Deuteranomaly #d6c623 ≈ 4.63% of males
Tritanomaly #d6c088 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc812 {
  color: #ccc812;
}
Background
.bg-ccc812 {
  background-color: #ccc812;
  color: #000000;
}
Border
.border-ccc812 {
  border: 2px solid #ccc812;
}
CSS variables
:root {
  --color-primary: #ccc812;
  --color-primary-rgb: 204 200 18;
  --color-primary-hsl: 59 84% 44%;
}
Gradient
.gradient-ccc812 {
  background: linear-gradient(135deg, #ccc812, #73cc12);
}
Colored shadow
.shadow-ccc812 {
  box-shadow: 0 8px 24px rgb(204 200 18 / 0.35);
}

Citrine
#ccc812  rgb(204, 200, 18)  hsl(59, 84%, 44%)  Citrine
#1216cc  rgb(18, 22, 204)  hsl(239, 84%, 44%)  Medium Blue
#12ccc8  rgb(18, 204, 200)  hsl(179, 84%, 44%)  Robin Egg Blue
#c812cc  rgb(200, 18, 204)  hsl(299, 84%, 44%)  Electric Purple