Skip to content

#def6c2

a pale, vivid green · cool · closest name: beige

RGB
222, 246, 194
HSL
88°, 74%, 86%
CMYK
10, 0, 21, 4
Luminance
0.8534

Every format

HEX#def6c2
RGBrgb(222, 246, 194)
HSLhsl(88, 74%, 86%)
CMYKcmyk(10%, 0%, 21%, 4%)
LABlab(94.0 -16.8 22.5)
LCHlch(94.0 28.0 126.7)
OKLCHoklch(0.943 0.073 127.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#def6c2 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#def6c2 on black: 18.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green96.5%
Blue76.1%

CMYK percentages

Cyan9.8%
Magenta0.0%
Yellow21.1%
Key (black)3.5%

Color previews

#def6c2 text on a black background

contrast 18.07:1

Card sample

#def6c2 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #def6c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def6c2 in the Color Lab