#E2D012

#e2d012 ≈ Citrine

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

#e2d012 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.57% green and 7.06% blue; printed in CMYK it uses 0% cyan, 7.96% magenta, 92.04% yellow and 11.37% black. Its hue angle is 54.81°, with 85.25% saturation and 47.84% 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.26:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 0.54.

Description generated from the measured properties of this color.

Conversions of #e2d012 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.6132

Readable text 1.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 13.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #cdcdcd ≈ 0.003% of males
Achromatomaly #d6cea4 ≈ 0.001% of males
Protanopia #e4c900 ≈ 1.01% of males
Deuteranopia #ead12b ≈ 1.27% of males
Tritanopia #f4c0b1 ≈ 0.0001% of males
Protanomaly #e3cc00 ≈ 1.08% of males
Deuteranomaly #e7d123 ≈ 4.63% of males
Tritanomaly #edc78d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e2d012 {
  color: #e2d012;
}
Background
.bg-e2d012 {
  background-color: #e2d012;
  color: #000000;
}
Border
.border-e2d012 {
  border: 2px solid #e2d012;
}
CSS variables
:root {
  --color-primary: #e2d012;
  --color-primary-rgb: 226 208 18;
  --color-primary-hsl: 55 85% 48%;
}
Gradient
.gradient-e2d012 {
  background: linear-gradient(135deg, #e2d012, #8ce212);
}
Colored shadow
.shadow-e2d012 {
  box-shadow: 0 8px 24px rgb(226 208 18 / 0.35);
}

Citrine
#e2d012  rgb(226, 208, 18)  hsl(55, 85%, 48%)  Citrine
#1224e2  rgb(18, 36, 226)  hsl(235, 85%, 48%)  Blue
#12e2d0  rgb(18, 226, 208)  hsl(175, 85%, 48%)  Turquoise
#d012e2  rgb(208, 18, 226)  hsl(295, 85%, 48%)  Electric Purple