Skip to content

#ebedb2

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

RGB
235, 237, 178
HSL
62°, 62%, 81%
CMYK
1, 0, 25, 7
Luminance
0.8144

Every format

HEX#ebedb2
RGBrgb(235, 237, 178)
HSLhsl(62, 62%, 81%)
CMYKcmyk(1%, 0%, 25%, 7%)
LABlab(92.3 -9.9 28.5)
LCHlch(92.3 30.1 109.2)
OKLCHoklch(0.930 0.076 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebedb2 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#ebedb2 on black: 17.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green92.9%
Blue69.8%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow24.9%
Key (black)7.1%

Color previews

#ebedb2 text on a black background

contrast 17.29:1

Card sample

#ebedb2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebedb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebedb2 in the Color Lab