#ECBB1F

#ecbb1f ≈ Saffron

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

#ecbb1f 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.33% green and 12.16% blue; printed in CMYK it uses 0% cyan, 20.76% magenta, 86.86% yellow and 7.45% black. Its hue angle is 45.66°, with 84.36% saturation and 52.35% 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.69:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 2.22.

Description generated from the measured properties of this color.

Conversions of #ecbb1f 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.5347

Readable text 1.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 11.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c1c1c1 ≈ 0.003% of males
Achromatomaly #d4bf9b ≈ 0.001% of males
Protanopia #d3ba00 ≈ 1.01% of males
Deuteranopia #dec72c ≈ 1.27% of males
Tritanopia #ffa9a0 ≈ 0.0001% of males
Protanomaly #ddba00 ≈ 1.08% of males
Deuteranomaly #e4c227 ≈ 4.63% of males
Tritanomaly #f9b180 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecbb1f {
  color: #ecbb1f;
}
Background
.bg-ecbb1f {
  background-color: #ecbb1f;
  color: #000000;
}
Border
.border-ecbb1f {
  border: 2px solid #ecbb1f;
}
CSS variables
:root {
  --color-primary: #ecbb1f;
  --color-primary-rgb: 236 187 31;
  --color-primary-hsl: 46 84% 52%;
}
Gradient
.gradient-ecbb1f {
  background: linear-gradient(135deg, #ecbb1f, #b6ec1f);
}
Colored shadow
.shadow-ecbb1f {
  box-shadow: 0 8px 24px rgb(236 187 31 / 0.35);
}

Saffron
#ecbb1f  rgb(236, 187, 31)  hsl(46, 84%, 52%)  Saffron
#1f50ec  rgb(31, 80, 236)  hsl(226, 84%, 52%)  Iris
#1fecbb  rgb(31, 236, 187)  hsl(166, 84%, 52%)  Aquamarine
#bb1fec  rgb(187, 31, 236)  hsl(286, 84%, 52%)  Electric Purple