#ECBF1F

#ecbf1f ≈ Saffron

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

#ecbf1f is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 74.9% green and 12.16% blue; printed in CMYK it uses 0% cyan, 19.07% magenta, 86.86% yellow and 7.45% black. Its hue angle is 46.83°, 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 12.04:1 (WCAG AAA). The closest named color is Saffron (#f4c430), ΔE 1.74.

Description generated from the measured properties of this color.

Conversions of #ecbf1f 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.5519

Readable text 1.74:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 12.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #c4c4c4 ≈ 0.003% of males
Achromatomaly #d5c29d ≈ 0.001% of males
Protanopia #d6bd00 ≈ 1.01% of males
Deuteranopia #e1c92d ≈ 1.27% of males
Tritanopia #ffaea3 ≈ 0.0001% of males
Protanomaly #dfbe00 ≈ 1.08% of males
Deuteranomaly #e6c528 ≈ 4.63% of males
Tritanomaly #f8b583 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Saffron
#ecbf1f  rgb(236, 191, 31)  hsl(47, 84%, 52%)  Saffron
#1f4cec  rgb(31, 76, 236)  hsl(227, 84%, 52%)  Iris
#1fecbf  rgb(31, 236, 191)  hsl(167, 84%, 52%)  Aquamarine
#bf1fec  rgb(191, 31, 236)  hsl(287, 84%, 52%)  Electric Purple