Skip to content

#dcf8dc

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

RGB
220, 248, 220
HSL
120°, 67%, 92%
CMYK
11, 0, 11, 3
Luminance
0.8752

Every format

HEX#dcf8dc
RGBrgb(220, 248, 220)
HSLhsl(120, 67%, 92%)
CMYKcmyk(11%, 0%, 11%, 3%)
LABlab(95.0 -14.2 10.4)
LCHlch(95.0 17.6 143.7)
OKLCHoklch(0.951 0.047 145.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcf8dc on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#dcf8dc on black: 18.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green97.3%
Blue86.3%

CMYK percentages

Cyan11.3%
Magenta0.0%
Yellow11.3%
Key (black)2.7%

Color previews

#dcf8dc text on a black background

contrast 18.50:1

Card sample

#dcf8dc text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 248, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 248, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dcf8dc;
background: linear-gradient(135deg, #dcf8dc, #DCF8EF);

Monochromatic scale

Palettes built from #dcf8dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcf8dc in the Color Lab