Skip to content

#daf596

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

RGB
218, 245, 150
HSL
77°, 83%, 78%
CMYK
11, 0, 39, 4
Luminance
0.8241

Every format

HEX#daf596
RGBrgb(218, 245, 150)
HSLhsl(77, 83%, 78%)
CMYKcmyk(11%, 0%, 39%, 4%)
LABlab(92.8 -23.6 42.8)
LCHlch(92.8 48.9 118.9)
OKLCHoklch(0.929 0.123 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daf596 on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#daf596 on black: 17.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green96.1%
Blue58.8%

CMYK percentages

Cyan11.0%
Magenta0.0%
Yellow38.8%
Key (black)3.9%

Color previews

#daf596 text on a black background

contrast 17.48:1

Card sample

#daf596 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 245, 150, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 245, 150, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daf596;
background: linear-gradient(135deg, #daf596, #9BF596);

Monochromatic scale

Palettes built from #daf596

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daf596 in the Color Lab