Skip to content

#d3f0af

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

RGB
211, 240, 175
HSL
87°, 68%, 81%
CMYK
12, 0, 27, 6
Luminance
0.7926

Every format

HEX#d3f0af
RGBrgb(211, 240, 175)
HSLhsl(87, 68%, 81%)
CMYKcmyk(12%, 0%, 27%, 6%)
LABlab(91.3 -20.5 28.4)
LCHlch(91.3 35.0 125.8)
OKLCHoklch(0.918 0.090 127.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3f0af on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#d3f0af on black: 16.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green94.1%
Blue68.6%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow27.1%
Key (black)5.9%

Color previews

#d3f0af text on a black background

contrast 16.85:1

Card sample

#d3f0af text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3f0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3f0af in the Color Lab