#EBE797

#ebe797 ≈ Khaki

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

#ebe797 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 92.16% red, 90.59% green and 59.22% blue; printed in CMYK it uses 0% cyan, 1.7% magenta, 35.74% yellow and 7.84% black. Its hue angle is 57.14°, with 67.74% saturation and 75.69% 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 soft pastel palettes. Black text on this color reaches a contrast ratio of 16.41:1 (WCAG AAA). The closest named color is Khaki (#f0e68c), ΔE 2.38.

Description generated from the measured properties of this color.

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

Readable text 1.28:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 16.41:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #e3e3e3 ≈ 0.003% of males
Achromatomaly #e6e5c9 ≈ 0.001% of males
Protanopia #f4e191 ≈ 1.01% of males
Deuteranopia #f6e59a ≈ 1.27% of males
Tritanopia #f7ddd3 ≈ 0.0001% of males
Protanomaly #f0e494 ≈ 1.08% of males
Deuteranomaly #f2e699 ≈ 4.63% of males
Tritanomaly #f2e1be ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ebe797 {
  color: #ebe797;
}
Background
.bg-ebe797 {
  background-color: #ebe797;
  color: #000000;
}
Border
.border-ebe797 {
  border: 2px solid #ebe797;
}
CSS variables
:root {
  --color-primary: #ebe797;
  --color-primary-rgb: 235 231 151;
  --color-primary-hsl: 57 68% 76%;
}
Gradient
.gradient-ebe797 {
  background: linear-gradient(135deg, #ebe797, #c5eb97);
}
Colored shadow
.shadow-ebe797 {
  box-shadow: 0 8px 24px rgb(235 231 151 / 0.35);
}

Khaki
#ebe797  rgb(235, 231, 151)  hsl(57, 68%, 76%)  Khaki
#979beb  rgb(151, 155, 235)  hsl(237, 68%, 76%)  Wild Blue Yonder
#97ebe7  rgb(151, 235, 231)  hsl(177, 68%, 76%)  Pale Turquoise
#e797eb  rgb(231, 151, 235)  hsl(297, 68%, 76%)  Plum