Skip to content

#ebdf89

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

RGB
235, 223, 137
HSL
53°, 71%, 73%
CMYK
0, 5, 42, 8
Luminance
0.7224

Every format

HEX#ebdf89
RGBrgb(235, 223, 137)
HSLhsl(53, 71%, 73%)
CMYKcmyk(0%, 5%, 42%, 8%)
LABlab(88.1 -7.8 43.5)
LCHlch(88.1 44.2 100.1)
OKLCHoklch(0.895 0.108 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf89 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf89 on black: 15.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow41.7%
Key (black)7.8%

Color previews

#ebdf89 text on a black background

contrast 15.45:1

Card sample

#ebdf89 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf89 in the Color Lab