Skip to content

#dfefaf

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

RGB
223, 239, 175
HSL
75°, 67%, 81%
CMYK
7, 0, 27, 6
Luminance
0.8052

Every format

HEX#dfefaf
RGBrgb(223, 239, 175)
HSLhsl(75, 67%, 81%)
CMYKcmyk(7%, 0%, 27%, 6%)
LABlab(91.9 -15.7 29.3)
LCHlch(91.9 33.2 118.2)
OKLCHoklch(0.925 0.085 119.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green93.7%
Blue68.6%

CMYK percentages

Cyan6.7%
Magenta0.0%
Yellow26.8%
Key (black)6.3%

Color previews

#dfefaf text on a black background

contrast 17.10:1

Card sample

#dfefaf text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfefaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfefaf in the Color Lab