Skip to content

#ebdc9b

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

RGB
235, 220, 155
HSL
49°, 67%, 77%
CMYK
0, 6, 34, 8
Luminance
0.7122

Every format

HEX#ebdc9b
RGBrgb(235, 220, 155)
HSLhsl(49, 67%, 77%)
CMYKcmyk(0%, 6%, 34%, 8%)
LABlab(87.6 -4.3 33.9)
LCHlch(87.6 34.1 97.2)
OKLCHoklch(0.892 0.085 96.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green86.3%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow34.0%
Key (black)7.8%

Color previews

#ebdc9b text on a black background

contrast 15.24:1

Card sample

#ebdc9b text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebdc9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebdc9b in the Color Lab