#ECC642

#ecc642 ≈ Saffron

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

#ecc642 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 77.65% green and 25.88% blue; printed in CMYK it uses 0% cyan, 16.1% magenta, 72.03% yellow and 7.45% black. Its hue angle is 46.59°, with 81.73% 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.72:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.69.

Description generated from the measured properties of this color.

Conversions of #ecc642 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.5861

Readable text 1.65:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c9c9c9 ≈ 0.003% of males
Achromatomaly #d8c8a4 ≈ 0.001% of males
Protanopia #dbc32e ≈ 1.01% of males
Deuteranopia #e5ce49 ≈ 1.27% of males
Tritanopia #ffb6ac ≈ 0.0001% of males
Protanomaly #e2c437 ≈ 1.08% of males
Deuteranomaly #e8cb46 ≈ 4.63% of males
Tritanomaly #f8bd8d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecc642 {
  color: #ecc642;
}
Background
.bg-ecc642 {
  background-color: #ecc642;
  color: #000000;
}
Border
.border-ecc642 {
  border: 2px solid #ecc642;
}
CSS variables
:root {
  --color-primary: #ecc642;
  --color-primary-rgb: 236 198 66;
  --color-primary-hsl: 47 82% 59%;
}
Gradient
.gradient-ecc642 {
  background: linear-gradient(135deg, #ecc642, #bdec42);
}
Colored shadow
.shadow-ecc642 {
  box-shadow: 0 8px 24px rgb(236 198 66 / 0.35);
}

Saffron
#ecc642  rgb(236, 198, 66)  hsl(47, 82%, 59%)  Saffron
#4268ec  rgb(66, 104, 236)  hsl(227, 82%, 59%)  Ultramarine Blue
#42ecc6  rgb(66, 236, 198)  hsl(167, 82%, 59%)  Aquamarine
#c642ec  rgb(198, 66, 236)  hsl(287, 82%, 59%)  Medium Orchid