Skip to content

#dfefa2

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

RGB
223, 239, 162
HSL
73°, 71%, 79%
CMYK
7, 0, 32, 6
Luminance
0.8003

Every format

HEX#dfefa2
RGBrgb(223, 239, 162)
HSLhsl(73, 71%, 79%)
CMYKcmyk(7%, 0%, 32%, 6%)
LABlab(91.7 -17.4 35.6)
LCHlch(91.7 39.6 116.1)
OKLCHoklch(0.922 0.100 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfefa2 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#dfefa2 on black: 17.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green93.7%
Blue63.5%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow32.2%
Key (black)6.3%

Color previews

#dfefa2 text on a black background

contrast 17.01:1

Card sample

#dfefa2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfefa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfefa2 in the Color Lab