Skip to content

#ebdf5e

a balanced, electric yellow · cool · closest name: khaki

RGB
235, 223, 94
HSL
55°, 78%, 65%
CMYK
0, 5, 60, 8
Luminance
0.7125

Every format

HEX#ebdf5e
RGBrgb(235, 223, 94)
HSLhsl(55, 78%, 65%)
CMYKcmyk(0%, 5%, 60%, 8%)
LABlab(87.6 -11.4 63.0)
LCHlch(87.6 64.0 100.2)
OKLCHoklch(0.889 0.149 104.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebdf5e on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#ebdf5e on black: 15.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green87.5%
Blue36.9%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow60.0%
Key (black)7.8%

Color previews

#ebdf5e text on a black background

contrast 15.25:1

Card sample

#ebdf5e text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdf5e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdf5e in the Color Lab