Skip to content

#def594

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

RGB
222, 245, 148
HSL
74°, 83%, 77%
CMYK
9, 0, 40, 4
Luminance
0.8297

Every format

HEX#def594
RGBrgb(222, 245, 148)
HSLhsl(74, 83%, 77%)
CMYKcmyk(9%, 0%, 40%, 4%)
LABlab(93.0 -22.4 44.2)
LCHlch(93.0 49.5 116.9)
OKLCHoklch(0.932 0.124 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def594 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#def594 on black: 17.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.1%
Blue58.0%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow39.6%
Key (black)3.9%

Color previews

#def594 text on a black background

contrast 17.59:1

Card sample

#def594 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def594

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def594 in the Color Lab