Skip to content

#ebdf9e

a light, vivid yellow · cool · closest name: khaki

RGB
235, 223, 158
HSL
51°, 66%, 77%
CMYK
0, 5, 33, 8
Luminance
0.7291

Every format

HEX#ebdf9e
RGBrgb(235, 223, 158)
HSLhsl(51, 66%, 77%)
CMYKcmyk(0%, 5%, 33%, 8%)
LABlab(88.4 -5.4 33.4)
LCHlch(88.4 33.8 99.2)
OKLCHoklch(0.898 0.084 99.0)

Copy-ready code

/* CSS */
color: #ebdf9e;
background-color: #ebdf9e;
/* Tailwind (arbitrary) */
class="text-[#ebdf9e] bg-[#ebdf9e]"
/* SCSS */
$brand: #ebdf9e;
/* SwiftUI */
Color(red: 0.922, green: 0.875, blue: 0.620)
/* Android */
Color.parseColor("#ebdf9e")

Accessibility — WCAG contrast

Aa
#ebdf9e on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf9e on black: 15.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue62.0%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow32.8%
Key (black)7.8%

Color previews

#ebdf9e text on a black background

contrast 15.58:1

Card sample

#ebdf9e text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ebdf9e;
Background color
Panel with #ebdf9e background
background-color: #ebdf9e;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ebdf9e;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(235, 223, 158, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 223, 158, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebdf9e;
background: linear-gradient(135deg, #ebdf9e, #C4EB9E);

Monochromatic scale

Palettes built from #ebdf9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf9e in the Color Lab