Skip to content

#ebd170

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

RGB
235, 209, 112
HSL
47°, 76%, 68%
CMYK
0, 11, 52, 8
Luminance
0.6443

Every format

HEX#ebd170
RGBrgb(235, 209, 112)
HSLhsl(47, 76%, 68%)
CMYKcmyk(0%, 11%, 52%, 8%)
LABlab(84.2 -3.0 50.9)
LCHlch(84.2 51.0 93.3)
OKLCHoklch(0.863 0.121 94.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.2%
Green82.0%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta11.1%
Yellow52.3%
Key (black)7.8%

Color previews

#ebd170 text on a black background

contrast 13.89:1

Card sample

#ebd170 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ebd170

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ebd170 in the Color Lab