Skip to content

#dff0af

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

RGB
223, 240, 175
HSL
76°, 68%, 81%
CMYK
7, 0, 27, 6
Luminance
0.8110

Every format

HEX#dff0af
RGBrgb(223, 240, 175)
HSLhsl(76, 68%, 81%)
CMYKcmyk(7%, 0%, 27%, 6%)
LABlab(92.2 -16.2 29.6)
LCHlch(92.2 33.8 118.7)
OKLCHoklch(0.927 0.086 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dff0af on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#dff0af on black: 17.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green94.1%
Blue68.6%

CMYK percentages

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

Color previews

#dff0af text on a black background

contrast 17.22:1

Card sample

#dff0af text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dff0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dff0af in the Color Lab