#ECBC12

#ecbc12 ≈ Saffron

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

#ecbc12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 73.73% green and 7.06% blue; printed in CMYK it uses 0% cyan, 20.34% magenta, 92.37% yellow and 7.45% black. Its hue angle is 46.79°, with 85.83% saturation and 49.8% 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 11.77:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.21.

Description generated from the measured properties of this color.

Conversions of #ecbc12 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ffcc00
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.5384

Readable text 1.78:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.77:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #d4c09b ≈ 0.001% of males
Protanopia #d4ba00 ≈ 1.01% of males
Deuteranopia #dfc724 ≈ 1.27% of males
Tritanopia #ffaaa0 ≈ 0.0001% of males
Protanomaly #debb00 ≈ 1.08% of males
Deuteranomaly #e4c31e ≈ 4.63% of males
Tritanomaly #f9b280 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecbc12 {
  color: #ecbc12;
}
Background
.bg-ecbc12 {
  background-color: #ecbc12;
  color: #000000;
}
Border
.border-ecbc12 {
  border: 2px solid #ecbc12;
}
CSS variables
:root {
  --color-primary: #ecbc12;
  --color-primary-rgb: 236 188 18;
  --color-primary-hsl: 47 86% 50%;
}
Gradient
.gradient-ecbc12 {
  background: linear-gradient(135deg, #ecbc12, #afec12);
}
Colored shadow
.shadow-ecbc12 {
  box-shadow: 0 8px 24px rgb(236 188 18 / 0.35);
}

Saffron
#ecbc12  rgb(236, 188, 18)  hsl(47, 86%, 50%)  Saffron
#1242ec  rgb(18, 66, 236)  hsl(227, 86%, 50%)  Iris
#12ecbc  rgb(18, 236, 188)  hsl(167, 86%, 50%)  Aquamarine
#bc12ec  rgb(188, 18, 236)  hsl(287, 86%, 50%)  Electric Purple