#CEC42E

#cec42e ≈ Citrine

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

#cec42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.78% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.85% magenta, 77.67% yellow and 19.22% black. Its hue angle is 56.25°, with 63.49% saturation and 49.41% 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.56:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.87.

Description generated from the measured properties of this color.

Conversions of #cec42e 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.528

Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.56:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c0c0c0 ≈ 0.003% of males
Achromatomaly #c6c29b ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #d9c33a ≈ 1.27% of males
Tritanopia #deb6a8 ≈ 0.0001% of males
Protanomaly #d3c01b ≈ 1.08% of males
Deuteranomaly #d5c336 ≈ 4.63% of males
Tritanomaly #d8bc88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-cec42e {
  color: #cec42e;
}
Background
.bg-cec42e {
  background-color: #cec42e;
  color: #000000;
}
Border
.border-cec42e {
  border: 2px solid #cec42e;
}
CSS variables
:root {
  --color-primary: #cec42e;
  --color-primary-rgb: 206 196 46;
  --color-primary-hsl: 56 63% 49%;
}
Gradient
.gradient-cec42e {
  background: linear-gradient(135deg, #cec42e, #88ce2e);
}
Colored shadow
.shadow-cec42e {
  box-shadow: 0 8px 24px rgb(206 196 46 / 0.35);
}

Citrine
#cec42e  rgb(206, 196, 46)  hsl(56, 63%, 49%)  Citrine
#2e38ce  rgb(46, 56, 206)  hsl(236, 63%, 49%)  Persian Blue
#2ecec4  rgb(46, 206, 196)  hsl(176, 63%, 49%)  Medium Turquoise
#c42ece  rgb(196, 46, 206)  hsl(296, 63%, 49%)  Medium Orchid