Skip to content

#def697

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

RGB
222, 246, 151
HSL
75°, 84%, 78%
CMYK
10, 0, 39, 4
Luminance
0.8368

Every format

HEX#def697
RGBrgb(222, 246, 151)
HSLhsl(75, 84%, 78%)
CMYKcmyk(10%, 0%, 39%, 4%)
LABlab(93.3 -22.5 43.1)
LCHlch(93.3 48.6 117.6)
OKLCHoklch(0.934 0.122 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def697 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#def697 on black: 17.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.5%
Blue59.2%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow38.6%
Key (black)3.5%

Color previews

#def697 text on a black background

contrast 17.74:1

Card sample

#def697 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 246, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 246, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def697;
background: linear-gradient(135deg, #def697, #9EF697);

Monochromatic scale

Palettes built from #def697

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def697 in the Color Lab