Skip to content

#cdf0b1

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

RGB
205, 240, 177
HSL
93°, 68%, 82%
CMYK
15, 0, 26, 6
Luminance
0.7847

Every format

HEX#cdf0b1
RGBrgb(205, 240, 177)
HSLhsl(93, 68%, 82%)
CMYKcmyk(15%, 0%, 26%, 6%)
LABlab(91.0 -22.3 26.8)
LCHlch(91.0 34.9 129.8)
OKLCHoklch(0.914 0.091 131.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf0b1 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#cdf0b1 on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue69.4%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow26.3%
Key (black)5.9%

Color previews

#cdf0b1 text on a black background

contrast 16.69:1

Card sample

#cdf0b1 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf0b1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf0b1 in the Color Lab