#ECBC2A

#ecbc2a ≈ Saffron

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

#ecbc2a 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 16.47% blue; printed in CMYK it uses 0% cyan, 20.34% magenta, 82.2% yellow and 7.45% black. Its hue angle is 45.15°, with 83.62% saturation and 54.51% 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.79:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.99.

Description generated from the measured properties of this color.

Conversions of #ecbc2a 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.5397

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

Achromatopsia #c2c2c2 ≈ 0.003% of males
Achromatomaly #d4c09c ≈ 0.001% of males
Protanopia #d3ba00 ≈ 1.01% of males
Deuteranopia #dfc734 ≈ 1.27% of males
Tritanopia #ffaba1 ≈ 0.0001% of males
Protanomaly #debb15 ≈ 1.08% of males
Deuteranomaly #e4c330 ≈ 4.63% of males
Tritanomaly #f8b282 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecbc2a {
  color: #ecbc2a;
}
Background
.bg-ecbc2a {
  background-color: #ecbc2a;
  color: #000000;
}
Border
.border-ecbc2a {
  border: 2px solid #ecbc2a;
}
CSS variables
:root {
  --color-primary: #ecbc2a;
  --color-primary-rgb: 236 188 42;
  --color-primary-hsl: 45 84% 55%;
}
Gradient
.gradient-ecbc2a {
  background: linear-gradient(135deg, #ecbc2a, #bbec2a);
}
Colored shadow
.shadow-ecbc2a {
  box-shadow: 0 8px 24px rgb(236 188 42 / 0.35);
}

Saffron
#ecbc2a  rgb(236, 188, 42)  hsl(45, 84%, 55%)  Saffron
#2a5aec  rgb(42, 90, 236)  hsl(225, 84%, 55%)  Ultramarine Blue
#2aecbc  rgb(42, 236, 188)  hsl(165, 84%, 55%)  Aquamarine
#bc2aec  rgb(188, 42, 236)  hsl(285, 84%, 55%)  Electric Purple