#EBC021

#ebc021 ≈ Saffron

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

#ebc021 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 18.3% magenta, 85.96% yellow and 7.84% black. Its hue angle is 47.23°, with 83.47% saturation and 52.55% 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.09:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.94.

Description generated from the measured properties of this color.

Conversions of #ebc021 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.5547

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.09:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #d5c39d ≈ 0.001% of males
Protanopia #d7bd00 ≈ 1.01% of males
Deuteranopia #e1ca2e ≈ 1.27% of males
Tritanopia #ffafa4 ≈ 0.0001% of males
Protanomaly #dfbe00 ≈ 1.08% of males
Deuteranomaly #e5c629 ≈ 4.63% of males
Tritanomaly #f7b684 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ebc021 {
  color: #ebc021;
}
Background
.bg-ebc021 {
  background-color: #ebc021;
  color: #000000;
}
Border
.border-ebc021 {
  border: 2px solid #ebc021;
}
CSS variables
:root {
  --color-primary: #ebc021;
  --color-primary-rgb: 235 192 33;
  --color-primary-hsl: 47 83% 53%;
}
Gradient
.gradient-ebc021 {
  background: linear-gradient(135deg, #ebc021, #b1eb21);
}
Colored shadow
.shadow-ebc021 {
  box-shadow: 0 8px 24px rgb(235 192 33 / 0.35);
}

Saffron
#ebc021  rgb(235, 192, 33)  hsl(47, 83%, 53%)  Saffron
#214ceb  rgb(33, 76, 235)  hsl(227, 83%, 53%)  Iris
#21ebc0  rgb(33, 235, 192)  hsl(167, 83%, 53%)  Aquamarine
#c021eb  rgb(192, 33, 235)  hsl(287, 83%, 53%)  Electric Purple