Skip to content

#e3d582

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

RGB
227, 213, 130
HSL
51°, 63%, 70%
CMYK
0, 6, 43, 11
Luminance
0.6553

Every format

HEX#e3d582
RGBrgb(227, 213, 130)
HSLhsl(51, 63%, 70%)
CMYKcmyk(0%, 6%, 43%, 11%)
LABlab(84.8 -6.6 42.7)
LCHlch(84.8 43.2 98.8)
OKLCHoklch(0.866 0.105 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e3d582 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#e3d582 on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red89.0%
Green83.5%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta6.2%
Yellow42.7%
Key (black)11.0%

Color previews

#e3d582 text on a black background

contrast 14.11:1

Card sample

#e3d582 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(227, 213, 130, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(227, 213, 130, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e3d582;
background: linear-gradient(135deg, #e3d582, #B0E382);

Monochromatic scale

Palettes built from #e3d582

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e3d582 in the Color Lab