#E2CB02

#e2cb02 ≈ Citrine

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

#e2cb02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 79.61% green and 0.78% blue; printed in CMYK it uses 0% cyan, 10.18% magenta, 99.12% yellow and 11.37% black. Its hue angle is 53.84°, with 98.25% saturation and 44.71% 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 12.78:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.32.

Description generated from the measured properties of this color.

Conversions of #e2cb02 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.5889

Readable text 1.64:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.78:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d4caa0 ≈ 0.001% of males
Protanopia #e0c500 ≈ 1.01% of males
Deuteranopia #e6ce24 ≈ 1.27% of males
Tritanopia #f5bbad ≈ 0.0001% of males
Protanomaly #e1c700 ≈ 1.08% of males
Deuteranomaly #e5cd1a ≈ 4.63% of males
Tritanomaly #edc289 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cb02 {
  color: #e2cb02;
}
Background
.bg-e2cb02 {
  background-color: #e2cb02;
  color: #000000;
}
Border
.border-e2cb02 {
  border: 2px solid #e2cb02;
}
CSS variables
:root {
  --color-primary: #e2cb02;
  --color-primary-rgb: 226 203 2;
  --color-primary-hsl: 54 98% 45%;
}
Gradient
.gradient-e2cb02 {
  background: linear-gradient(135deg, #e2cb02, #89e202);
}
Colored shadow
.shadow-e2cb02 {
  box-shadow: 0 8px 24px rgb(226 203 2 / 0.35);
}

Citrine
#e2cb02  rgb(226, 203, 2)  hsl(54, 98%, 45%)  Citrine
#0219e2  rgb(2, 25, 226)  hsl(234, 98%, 45%)  Blue
#02e2cb  rgb(2, 226, 203)  hsl(174, 98%, 45%)  Turquoise
#cb02e2  rgb(203, 2, 226)  hsl(294, 98%, 45%)  Electric Purple