Skip to content

#ebd080

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

RGB
235, 208, 128
HSL
45°, 73%, 71%
CMYK
0, 12, 46, 8
Luminance
0.6433

Every format

HEX#ebd080
RGBrgb(235, 208, 128)
HSLhsl(45, 73%, 71%)
CMYKcmyk(0%, 12%, 46%, 8%)
LABlab(84.1 -1.0 43.0)
LCHlch(84.1 43.0 91.4)
OKLCHoklch(0.863 0.104 91.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ebd080 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#ebd080 on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.2%
Green81.6%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta11.5%
Yellow45.5%
Key (black)7.8%

Color previews

#ebd080 text on a black background

contrast 13.87:1

Card sample

#ebd080 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebd080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebd080 in the Color Lab