#E2CB2F

#e2cb2f ≈ Citrine

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

#e2cb2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 88.63% red, 79.61% green and 18.43% blue; printed in CMYK it uses 0% cyan, 10.18% magenta, 79.2% yellow and 11.37% black. Its hue angle is 52.29°, with 75.53% saturation and 53.53% 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 12.82:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #e2cb2f 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.5909

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

Achromatopsia #cacaca ≈ 0.003% of males
Achromatomaly #d4caa3 ≈ 0.001% of males
Protanopia #dfc500 ≈ 1.01% of males
Deuteranopia #e5ce3b ≈ 1.27% of males
Tritanopia #f4bcae ≈ 0.0001% of males
Protanomaly #e0c81a ≈ 1.08% of males
Deuteranomaly #e4cd37 ≈ 4.63% of males
Tritanomaly #edc28d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Citrine
#e2cb2f  rgb(226, 203, 47)  hsl(52, 76%, 54%)  Citrine
#2f46e2  rgb(47, 70, 226)  hsl(232, 76%, 54%)  Iris
#2fe2cb  rgb(47, 226, 203)  hsl(172, 76%, 54%)  Turquoise
#cb2fe2  rgb(203, 47, 226)  hsl(292, 76%, 54%)  Medium Orchid