Skip to content

#d3eba2

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

RGB
211, 235, 162
HSL
80°, 65%, 78%
CMYK
10, 0, 31, 8
Luminance
0.7587

Every format

HEX#d3eba2
RGBrgb(211, 235, 162)
HSLhsl(80, 65%, 78%)
CMYKcmyk(10%, 0%, 31%, 8%)
LABlab(89.8 -19.9 32.9)
LCHlch(89.8 38.4 121.1)
OKLCHoklch(0.905 0.098 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3eba2 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#d3eba2 on black: 16.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green92.2%
Blue63.5%

CMYK percentages

Cyan10.2%
Magenta0.0%
Yellow31.1%
Key (black)7.8%

Color previews

#d3eba2 text on a black background

contrast 16.17:1

Card sample

#d3eba2 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3eba2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3eba2 in the Color Lab