#EBE28B

#ebe28b ≈ Khaki

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

#ebe28b is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.16% red, 88.63% green and 54.51% blue; printed in CMYK it uses 0% cyan, 3.83% magenta, 40.85% yellow and 7.84% black. Its hue angle is 54.38°, with 70.59% saturation and 73.33% 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.78:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 1.04.

Description generated from the measured properties of this color.

Conversions of #ebe28b 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.7392

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

Achromatopsia #dfdfdf ≈ 0.003% of males
Achromatomaly #e4e0c3 ≈ 0.001% of males
Protanopia #f0dc84 ≈ 1.01% of males
Deuteranopia #f4e18f ≈ 1.27% of males
Tritanopia #f8d7cd ≈ 0.0001% of males
Protanomaly #eedf87 ≈ 1.08% of males
Deuteranomaly #f0e28d ≈ 4.63% of males
Tritanomaly #f3dcb6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ebe28b {
  color: #ebe28b;
}
Background
.bg-ebe28b {
  background-color: #ebe28b;
  color: #000000;
}
Border
.border-ebe28b {
  border: 2px solid #ebe28b;
}
CSS variables
:root {
  --color-primary: #ebe28b;
  --color-primary-rgb: 235 226 139;
  --color-primary-hsl: 54 71% 73%;
}
Gradient
.gradient-ebe28b {
  background: linear-gradient(135deg, #ebe28b, #c4eb8b);
}
Colored shadow
.shadow-ebe28b {
  box-shadow: 0 8px 24px rgb(235 226 139 / 0.35);
}

Khaki
#ebe28b  rgb(235, 226, 139)  hsl(54, 71%, 73%)  Khaki
#8b94eb  rgb(139, 148, 235)  hsl(234, 71%, 73%)  Cornflower Blue
#8bebe2  rgb(139, 235, 226)  hsl(174, 71%, 73%)  Pale Turquoise
#e28beb  rgb(226, 139, 235)  hsl(294, 71%, 73%)  Violet