#ECE28C

#ece28c ≈ Khaki

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

#ece28c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.55% red, 88.63% green and 54.9% blue; printed in CMYK it uses 0% cyan, 4.24% magenta, 40.68% yellow and 7.45% black. Its hue angle is 53.75°, with 71.64% saturation and 73.73% 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.82:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.04.

Description generated from the measured properties of this color.

Conversions of #ece28c 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.7412

Readable text 1.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 15.82:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #dfdfdf ≈ 0.003% of males
Achromatomaly #e5e0c4 ≈ 0.001% of males
Protanopia #f0dd85 ≈ 1.01% of males
Deuteranopia #f4e290 ≈ 1.27% of males
Tritanopia #f9d7cd ≈ 0.0001% of males
Protanomaly #efdf88 ≈ 1.08% of males
Deuteranomaly #f1e28e ≈ 4.63% of males
Tritanomaly #f4dcb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ece28c {
  color: #ece28c;
}
Background
.bg-ece28c {
  background-color: #ece28c;
  color: #000000;
}
Border
.border-ece28c {
  border: 2px solid #ece28c;
}
CSS variables
:root {
  --color-primary: #ece28c;
  --color-primary-rgb: 236 226 140;
  --color-primary-hsl: 54 72% 74%;
}
Gradient
.gradient-ece28c {
  background: linear-gradient(135deg, #ece28c, #c6ec8c);
}
Colored shadow
.shadow-ece28c {
  box-shadow: 0 8px 24px rgb(236 226 140 / 0.35);
}

Khaki
#ece28c  rgb(236, 226, 140)  hsl(54, 72%, 74%)  Khaki
#8c96ec  rgb(140, 150, 236)  hsl(234, 72%, 74%)  Cornflower Blue
#8cece2  rgb(140, 236, 226)  hsl(174, 72%, 74%)  Pale Turquoise
#e28cec  rgb(226, 140, 236)  hsl(294, 72%, 74%)  Violet