Skip to content

#cdf8c0

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

RGB
205, 248, 192
HSL
106°, 80%, 86%
CMYK
17, 0, 23, 3
Luminance
0.8392

Every format

HEX#cdf8c0
RGBrgb(205, 248, 192)
HSLhsl(106, 80%, 86%)
CMYKcmyk(17%, 0%, 23%, 3%)
LABlab(93.4 -23.9 22.5)
LCHlch(93.4 32.8 136.7)
OKLCHoklch(0.935 0.086 138.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf8c0 on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#cdf8c0 on black: 17.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.3%
Blue75.3%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow22.6%
Key (black)2.7%

Color previews

#cdf8c0 text on a black background

contrast 17.78:1

Card sample

#cdf8c0 text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf8c0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf8c0 in the Color Lab