#E2CE0C

#e2ce0c ≈ Citrine

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

#e2ce0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 80.78% green and 4.71% blue; printed in CMYK it uses 0% cyan, 8.85% magenta, 94.69% yellow and 11.37% black. Its hue angle is 54.39°, with 89.92% saturation and 46.67% 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 13.07:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.5.

Description generated from the measured properties of this color.

Conversions of #e2ce0c 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.6034

Readable text 1.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.07:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cccccc ≈ 0.003% of males
Achromatomaly #d5cda2 ≈ 0.001% of males
Protanopia #e3c700 ≈ 1.01% of males
Deuteranopia #e8d028 ≈ 1.27% of males
Tritanopia #f4beb0 ≈ 0.0001% of males
Protanomaly #e2ca00 ≈ 1.08% of males
Deuteranomaly #e6cf20 ≈ 4.63% of males
Tritanomaly #edc58c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2ce0c {
  color: #e2ce0c;
}
Background
.bg-e2ce0c {
  background-color: #e2ce0c;
  color: #000000;
}
Border
.border-e2ce0c {
  border: 2px solid #e2ce0c;
}
CSS variables
:root {
  --color-primary: #e2ce0c;
  --color-primary-rgb: 226 206 12;
  --color-primary-hsl: 54 90% 47%;
}
Gradient
.gradient-e2ce0c {
  background: linear-gradient(135deg, #e2ce0c, #8be20c);
}
Colored shadow
.shadow-e2ce0c {
  box-shadow: 0 8px 24px rgb(226 206 12 / 0.35);
}

Citrine
#e2ce0c  rgb(226, 206, 12)  hsl(54, 90%, 47%)  Citrine
#0c20e2  rgb(12, 32, 226)  hsl(234, 90%, 47%)  Blue
#0ce2ce  rgb(12, 226, 206)  hsl(174, 90%, 47%)  Turquoise
#ce0ce2  rgb(206, 12, 226)  hsl(294, 90%, 47%)  Electric Purple