Skip to content

#def487

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

RGB
222, 244, 135
HSL
72°, 83%, 74%
CMYK
9, 0, 45, 4
Luminance
0.8198

Every format

HEX#def487
RGBrgb(222, 244, 135)
HSLhsl(72, 83%, 74%)
CMYKcmyk(9%, 0%, 45%, 4%)
LABlab(92.6 -23.3 49.9)
LCHlch(92.6 55.1 115.0)
OKLCHoklch(0.928 0.137 118.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def487 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#def487 on black: 17.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.7%
Blue52.9%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow44.7%
Key (black)4.3%

Color previews

#def487 text on a black background

contrast 17.40:1

Card sample

#def487 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 244, 135, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 244, 135, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def487;
background: linear-gradient(135deg, #def487, #95F487);

Monochromatic scale

Palettes built from #def487

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def487 in the Color Lab