#EEC240

#eec240 ≈ Saffron

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

#eec240 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 93.33% red, 76.08% green and 25.1% blue; printed in CMYK it uses 0% cyan, 18.49% magenta, 73.11% yellow and 6.67% black. Its hue angle is 44.83°, with 83.65% saturation and 59.22% 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.43:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.75.

Description generated from the measured properties of this color.

Conversions of #eec240 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.5713

Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.43:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c7c7c7 ≈ 0.003% of males
Achromatomaly #d8c5a2 ≈ 0.001% of males
Protanopia #d8c02b ≈ 1.01% of males
Deuteranopia #e3cc47 ≈ 1.27% of males
Tritanopia #ffb2a8 ≈ 0.0001% of males
Protanomaly #e1c135 ≈ 1.08% of males
Deuteranomaly #e7c844 ≈ 4.63% of males
Tritanomaly #fab88a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-eec240 {
  color: #eec240;
}
Background
.bg-eec240 {
  background-color: #eec240;
  color: #000000;
}
Border
.border-eec240 {
  border: 2px solid #eec240;
}
CSS variables
:root {
  --color-primary: #eec240;
  --color-primary-rgb: 238 194 64;
  --color-primary-hsl: 45 84% 59%;
}
Gradient
.gradient-eec240 {
  background: linear-gradient(135deg, #eec240, #c3ee40);
}
Colored shadow
.shadow-eec240 {
  box-shadow: 0 8px 24px rgb(238 194 64 / 0.35);
}

Saffron
#eec240  rgb(238, 194, 64)  hsl(45, 84%, 59%)  Saffron
#406cee  rgb(64, 108, 238)  hsl(225, 84%, 59%)  Royal Blue
#40eec2  rgb(64, 238, 194)  hsl(165, 84%, 59%)  Aquamarine
#c240ee  rgb(194, 64, 238)  hsl(285, 84%, 59%)  Medium Orchid