#E8C021

#e8c021 ≈ Saffron

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

#e8c021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 90.98% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 17.24% magenta, 85.78% yellow and 9.02% black. Its hue angle is 47.94°, with 81.22% saturation and 51.96% 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 11.99:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.62.

Description generated from the measured properties of this color.

Conversions of #e8c021 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc33
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5496

Readable text 1.75:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.99:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #d3c29d ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #e0c92e ≈ 1.27% of males
Tritanopia #fcafa4 ≈ 0.0001% of males
Protanomaly #debe00 ≈ 1.08% of males
Deuteranomaly #e3c52a ≈ 4.63% of males
Tritanomaly #f4b684 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e8c021 {
  color: #e8c021;
}
Background
.bg-e8c021 {
  background-color: #e8c021;
  color: #000000;
}
Border
.border-e8c021 {
  border: 2px solid #e8c021;
}
CSS variables
:root {
  --color-primary: #e8c021;
  --color-primary-rgb: 232 192 33;
  --color-primary-hsl: 48 81% 52%;
}
Gradient
.gradient-e8c021 {
  background: linear-gradient(135deg, #e8c021, #ace821);
}
Colored shadow
.shadow-e8c021 {
  box-shadow: 0 8px 24px rgb(232 192 33 / 0.35);
}

Saffron
#e8c021  rgb(232, 192, 33)  hsl(48, 81%, 52%)  Saffron
#2149e8  rgb(33, 73, 232)  hsl(228, 81%, 52%)  Iris
#21e8c0  rgb(33, 232, 192)  hsl(168, 81%, 52%)  Aquamarine
#c021e8  rgb(192, 33, 232)  hsl(288, 81%, 52%)  Electric Purple