Skip to content

#defcca

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

RGB
222, 252, 202
HSL
96°, 89%, 89%
CMYK
12, 0, 20, 1
Luminance
0.8941

Every format

HEX#defcca
RGBrgb(222, 252, 202)
HSLhsl(96, 89%, 89%)
CMYKcmyk(12%, 0%, 20%, 1%)
LABlab(95.8 -18.4 20.8)
LCHlch(95.8 27.8 131.6)
OKLCHoklch(0.957 0.073 133.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#defcca on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#defcca on black: 18.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green98.8%
Blue79.2%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow19.8%
Key (black)1.2%

Color previews

#defcca text on a black background

contrast 18.88:1

Card sample

#defcca text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #defcca

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #defcca in the Color Lab