#CCC20B

#ccc20b ≈ Citrine

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

#ccc20b is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 76.08% green and 4.31% blue; printed in CMYK it uses 0% cyan, 4.9% magenta, 94.61% yellow and 20% black. Its hue angle is 56.89°, with 89.77% saturation and 42.16% 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.29:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.67.

Description generated from the measured properties of this color.

Conversions of #ccc20b 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.5145

Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bebebe ≈ 0.003% of males
Achromatomaly #c4c097 ≈ 0.001% of males
Protanopia #d4ba00 ≈ 1.01% of males
Deuteranopia #d8c126 ≈ 1.27% of males
Tritanopia #dcb4a5 ≈ 0.0001% of males
Protanomaly #d1be00 ≈ 1.08% of males
Deuteranomaly #d3c11e ≈ 4.63% of males
Tritanomaly #d6ba83 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ccc20b {
  color: #ccc20b;
}
Background
.bg-ccc20b {
  background-color: #ccc20b;
  color: #000000;
}
Border
.border-ccc20b {
  border: 2px solid #ccc20b;
}
CSS variables
:root {
  --color-primary: #ccc20b;
  --color-primary-rgb: 204 194 11;
  --color-primary-hsl: 57 90% 42%;
}
Gradient
.gradient-ccc20b {
  background: linear-gradient(135deg, #ccc20b, #76cc0b);
}
Colored shadow
.shadow-ccc20b {
  box-shadow: 0 8px 24px rgb(204 194 11 / 0.35);
}

Citrine
#ccc20b  rgb(204, 194, 11)  hsl(57, 90%, 42%)  Citrine
#0b15cc  rgb(11, 21, 204)  hsl(237, 90%, 42%)  Medium Blue
#0bccc2  rgb(11, 204, 194)  hsl(177, 90%, 42%)  Medium Turquoise
#c20bcc  rgb(194, 11, 204)  hsl(297, 90%, 42%)  Dark Orchid