Skip to content

#d2e2af

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

RGB
210, 226, 175
HSL
79°, 47%, 79%
CMYK
7, 0, 23, 11
Luminance
0.7119

Every format

HEX#d2e2af
RGBrgb(210, 226, 175)
HSLhsl(79, 47%, 79%)
CMYKcmyk(7%, 0%, 23%, 11%)
LABlab(87.6 -14.0 23.2)
LCHlch(87.6 27.1 121.0)
OKLCHoklch(0.888 0.070 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green88.6%
Blue68.6%

CMYK percentages

Cyan7.1%
Magenta0.0%
Yellow22.6%
Key (black)11.4%

Color previews

#d2e2af text on a black background

contrast 15.24:1

Card sample

#d2e2af text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 226, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 226, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2e2af;
background: linear-gradient(135deg, #d2e2af, #B0E2AF);

Monochromatic scale

Palettes built from #d2e2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2e2af in the Color Lab