Skip to content

#cdf1b2

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

RGB
205, 241, 178
HSL
94°, 69%, 82%
CMYK
15, 0, 26, 6
Luminance
0.7910

Every format

HEX#cdf1b2
RGBrgb(205, 241, 178)
HSLhsl(94, 69%, 82%)
CMYKcmyk(15%, 0%, 26%, 6%)
LABlab(91.3 -22.7 26.7)
LCHlch(91.3 35.0 130.3)
OKLCHoklch(0.917 0.091 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf1b2 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#cdf1b2 on black: 16.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.5%
Blue69.8%

CMYK percentages

Cyan14.9%
Magenta0.0%
Yellow26.1%
Key (black)5.5%

Color previews

#cdf1b2 text on a black background

contrast 16.82:1

Card sample

#cdf1b2 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf1b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf1b2 in the Color Lab