#EBC231

#ebc231 ≈ Saffron

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

#ebc231 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.16% red, 76.08% green and 19.22% blue; printed in CMYK it uses 0% cyan, 17.45% magenta, 79.15% yellow and 7.84% black. Its hue angle is 46.77°, with 82.3% saturation and 55.69% 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.29:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.93.

Description generated from the measured properties of this color.

Conversions of #ebc231 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.5647

Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.29:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c6c6c6 ≈ 0.003% of males
Achromatomaly #d6c4a0 ≈ 0.001% of males
Protanopia #d8bf0a ≈ 1.01% of males
Deuteranopia #e2cb3b ≈ 1.27% of males
Tritanopia #ffb1a7 ≈ 0.0001% of males
Protanomaly #e0c020 ≈ 1.08% of males
Deuteranomaly #e6c737 ≈ 4.63% of males
Tritanomaly #f7b887 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ebc231 {
  color: #ebc231;
}
Background
.bg-ebc231 {
  background-color: #ebc231;
  color: #000000;
}
Border
.border-ebc231 {
  border: 2px solid #ebc231;
}
CSS variables
:root {
  --color-primary: #ebc231;
  --color-primary-rgb: 235 194 49;
  --color-primary-hsl: 47 82% 56%;
}
Gradient
.gradient-ebc231 {
  background: linear-gradient(135deg, #ebc231, #b7eb31);
}
Colored shadow
.shadow-ebc231 {
  box-shadow: 0 8px 24px rgb(235 194 49 / 0.35);
}

Saffron
#ebc231  rgb(235, 194, 49)  hsl(47, 82%, 56%)  Saffron
#315aeb  rgb(49, 90, 235)  hsl(227, 82%, 56%)  Ultramarine Blue
#31ebc2  rgb(49, 235, 194)  hsl(167, 82%, 56%)  Aquamarine
#c231eb  rgb(194, 49, 235)  hsl(287, 82%, 56%)  Electric Purple