#ECDC8F

#ecdc8f ≈ Flax

  • yellow
  • Lightness: high
  • Saturation: moderate
  • Warm

#ecdc8f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 86.27% green and 56.08% blue; printed in CMYK it uses 0% cyan, 6.78% magenta, 39.41% yellow and 7.45% black. Its hue angle is 49.68°, with 70.99% saturation and 74.31% 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.2:1 (WCAG AAA). The closest named color is Flax (#eedc82), ΔE 2.21.

Description generated from the measured properties of this color.

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

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

Achromatopsia #dbdbdb ≈ 0.003% of males
Achromatomaly #e2dcc1 ≈ 0.001% of males
Protanopia #ead889 ≈ 1.01% of males
Deuteranopia #efde92 ≈ 1.27% of males
Tritanopia #f9d1c9 ≈ 0.0001% of males
Protanomaly #ebda8c ≈ 1.08% of males
Deuteranomaly #eedd91 ≈ 4.63% of males
Tritanomaly #f4d6b4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ecdc8f {
  color: #ecdc8f;
}
Background
.bg-ecdc8f {
  background-color: #ecdc8f;
  color: #000000;
}
Border
.border-ecdc8f {
  border: 2px solid #ecdc8f;
}
CSS variables
:root {
  --color-primary: #ecdc8f;
  --color-primary-rgb: 236 220 143;
  --color-primary-hsl: 50 71% 74%;
}
Gradient
.gradient-ecdc8f {
  background: linear-gradient(135deg, #ecdc8f, #cdec8f);
}
Colored shadow
.shadow-ecdc8f {
  box-shadow: 0 8px 24px rgb(236 220 143 / 0.35);
}

Flax
#ecdc8f  rgb(236, 220, 143)  hsl(50, 71%, 74%)  Flax
#8f9fec  rgb(143, 159, 236)  hsl(230, 71%, 74%)  Cornflower Blue
#8fecdc  rgb(143, 236, 220)  hsl(170, 71%, 74%)  Magic Mint
#dc8fec  rgb(220, 143, 236)  hsl(290, 71%, 74%)  Violet