#E2CF0F

#e2cf0f ≈ Citrine

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

#e2cf0f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 88.63% red, 81.18% green and 5.88% blue; printed in CMYK it uses 0% cyan, 8.41% magenta, 93.36% yellow and 11.37% black. Its hue angle is 54.6°, with 87.55% saturation and 47.25% 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.17:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.41.

Description generated from the measured properties of this color.

Conversions of #e2cf0f 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.6083

Readable text 1.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.17:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d6cea3 ≈ 0.001% of males
Protanopia #e3c800 ≈ 1.01% of males
Deuteranopia #e9d029 ≈ 1.27% of males
Tritanopia #f4bfb0 ≈ 0.0001% of males
Protanomaly #e3cb00 ≈ 1.08% of males
Deuteranomaly #e6d021 ≈ 4.63% of males
Tritanomaly #edc68c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2cf0f {
  color: #e2cf0f;
}
Background
.bg-e2cf0f {
  background-color: #e2cf0f;
  color: #000000;
}
Border
.border-e2cf0f {
  border: 2px solid #e2cf0f;
}
CSS variables
:root {
  --color-primary: #e2cf0f;
  --color-primary-rgb: 226 207 15;
  --color-primary-hsl: 55 88% 47%;
}
Gradient
.gradient-e2cf0f {
  background: linear-gradient(135deg, #e2cf0f, #8be20f);
}
Colored shadow
.shadow-e2cf0f {
  box-shadow: 0 8px 24px rgb(226 207 15 / 0.35);
}

Citrine
#e2cf0f  rgb(226, 207, 15)  hsl(55, 88%, 47%)  Citrine
#0f22e2  rgb(15, 34, 226)  hsl(235, 88%, 47%)  Blue
#0fe2cf  rgb(15, 226, 207)  hsl(175, 88%, 47%)  Turquoise
#cf0fe2  rgb(207, 15, 226)  hsl(295, 88%, 47%)  Electric Purple