#ECDF5B

#ecdf5b ≈ Straw

  • yellow
  • Lightness: high
  • Saturation: strong
  • Warm

#ecdf5b is a color from the yellow family, with high lightness and strong saturation. In the RGB model it is made of 92.55% red, 87.45% green and 35.69% blue; printed in CMYK it uses 0% cyan, 5.51% magenta, 61.44% yellow and 7.45% black. Its hue angle is 54.62°, with 79.23% saturation and 64.12% 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 brand accents. Black text on this color reaches a contrast ratio of 15.27:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.4.

Description generated from the measured properties of this color.

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

Readable text 1.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.27:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dcdcdc ≈ 0.003% of males
Achromatomaly #e2ddb6 ≈ 0.001% of males
Protanopia #f1d84b ≈ 1.01% of males
Deuteranopia #f6df62 ≈ 1.27% of males
Tritanopia #fcd1c3 ≈ 0.0001% of males
Protanomaly #efdb52 ≈ 1.08% of males
Deuteranomaly #f2df60 ≈ 4.63% of males
Tritanomaly #f6d7a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecdf5b {
  color: #ecdf5b;
}
Background
.bg-ecdf5b {
  background-color: #ecdf5b;
  color: #000000;
}
Border
.border-ecdf5b {
  border: 2px solid #ecdf5b;
}
CSS variables
:root {
  --color-primary: #ecdf5b;
  --color-primary-rgb: 236 223 91;
  --color-primary-hsl: 55 79% 64%;
}
Gradient
.gradient-ecdf5b {
  background: linear-gradient(135deg, #ecdf5b, #b1ec5b);
}
Colored shadow
.shadow-ecdf5b {
  box-shadow: 0 8px 24px rgb(236 223 91 / 0.35);
}

Straw
#ecdf5b  rgb(236, 223, 91)  hsl(55, 79%, 64%)  Straw
#5b68ec  rgb(91, 104, 236)  hsl(235, 79%, 64%)  Ultramarine Blue
#5becdf  rgb(91, 236, 223)  hsl(175, 79%, 64%)  Bright Turquoise
#df5bec  rgb(223, 91, 236)  hsl(295, 79%, 64%)  Heliotrope