#ECC128

#ecc128 ≈ Saffron

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

#ecc128 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 75.69% green and 15.69% blue; printed in CMYK it uses 0% cyan, 18.22% magenta, 83.05% yellow and 7.45% black. Its hue angle is 46.84°, with 83.76% saturation and 54.12% 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.23:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.67.

Description generated from the measured properties of this color.

Conversions of #ecc128 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.5613

Readable text 1.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.23:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c5c5c5 ≈ 0.003% of males
Achromatomaly #d6c49f ≈ 0.001% of males
Protanopia #d8be00 ≈ 1.01% of males
Deuteranopia #e2cb33 ≈ 1.27% of males
Tritanopia #ffb0a6 ≈ 0.0001% of males
Protanomaly #e0bf0e ≈ 1.08% of males
Deuteranomaly #e6c72f ≈ 4.63% of males
Tritanomaly #f8b785 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecc128 {
  color: #ecc128;
}
Background
.bg-ecc128 {
  background-color: #ecc128;
  color: #000000;
}
Border
.border-ecc128 {
  border: 2px solid #ecc128;
}
CSS variables
:root {
  --color-primary: #ecc128;
  --color-primary-rgb: 236 193 40;
  --color-primary-hsl: 47 84% 54%;
}
Gradient
.gradient-ecc128 {
  background: linear-gradient(135deg, #ecc128, #b5ec28);
}
Colored shadow
.shadow-ecc128 {
  box-shadow: 0 8px 24px rgb(236 193 40 / 0.35);
}

Saffron
#ecc128  rgb(236, 193, 40)  hsl(47, 84%, 54%)  Saffron
#2853ec  rgb(40, 83, 236)  hsl(227, 84%, 54%)  Majorelle Blue
#28ecc1  rgb(40, 236, 193)  hsl(167, 84%, 54%)  Aquamarine
#c128ec  rgb(193, 40, 236)  hsl(287, 84%, 54%)  Electric Purple