#CEC021

#cec021 ≈ Citrine

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

#cec021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 6.8% magenta, 83.98% yellow and 19.22% black. Its hue angle is 55.14°, with 72.38% saturation and 46.86% 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 11.19:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.83.

Description generated from the measured properties of this color.

Conversions of #cec021 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.5093

Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.19:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #bdbdbd ≈ 0.003% of males
Achromatomaly #c4be97 ≈ 0.001% of males
Protanopia #d2b900 ≈ 1.01% of males
Deuteranopia #d7c030 ≈ 1.27% of males
Tritanopia #deb2a4 ≈ 0.0001% of males
Protanomaly #d1bc00 ≈ 1.08% of males
Deuteranomaly #d3c02b ≈ 4.63% of males
Tritanomaly #d8b884 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec021 {
  color: #cec021;
}
Background
.bg-cec021 {
  background-color: #cec021;
  color: #000000;
}
Border
.border-cec021 {
  border: 2px solid #cec021;
}
CSS variables
:root {
  --color-primary: #cec021;
  --color-primary-rgb: 206 192 33;
  --color-primary-hsl: 55 72% 47%;
}
Gradient
.gradient-cec021 {
  background: linear-gradient(135deg, #cec021, #86ce21);
}
Colored shadow
.shadow-cec021 {
  box-shadow: 0 8px 24px rgb(206 192 33 / 0.35);
}

Citrine
#cec021  rgb(206, 192, 33)  hsl(55, 72%, 47%)  Citrine
#212fce  rgb(33, 47, 206)  hsl(235, 72%, 47%)  Persian Blue
#21cec0  rgb(33, 206, 192)  hsl(175, 72%, 47%)  Medium Turquoise
#c021ce  rgb(192, 33, 206)  hsl(295, 72%, 47%)  Electric Purple