Skip to content

#cdf3b2

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

RGB
205, 243, 178
HSL
95°, 73%, 83%
CMYK
16, 0, 27, 5
Luminance
0.8029

Every format

HEX#cdf3b2
RGBrgb(205, 243, 178)
HSLhsl(95, 73%, 83%)
CMYKcmyk(16%, 0%, 27%, 5%)
LABlab(91.8 -23.6 27.4)
LCHlch(91.8 36.2 130.8)
OKLCHoklch(0.921 0.094 132.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf3b2 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cdf3b2 on black: 17.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.3%
Blue69.8%

CMYK percentages

Cyan15.6%
Magenta0.0%
Yellow26.7%
Key (black)4.7%

Color previews

#cdf3b2 text on a black background

contrast 17.06:1

Card sample

#cdf3b2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf3b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf3b2 in the Color Lab