Skip to content

#d3f0b2

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

RGB
211, 240, 178
HSL
88°, 67%, 82%
CMYK
12, 0, 26, 6
Luminance
0.7938

Every format

HEX#d3f0b2
RGBrgb(211, 240, 178)
HSLhsl(88, 67%, 82%)
CMYKcmyk(12%, 0%, 26%, 6%)
LABlab(91.4 -20.1 26.9)
LCHlch(91.4 33.6 126.7)
OKLCHoklch(0.919 0.087 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3f0b2 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#d3f0b2 on black: 16.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green94.1%
Blue69.8%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow25.8%
Key (black)5.9%

Color previews

#d3f0b2 text on a black background

contrast 16.88:1

Card sample

#d3f0b2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3f0b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3f0b2 in the Color Lab