Skip to content

#cdf4b3

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

RGB
205, 244, 179
HSL
96°, 75%, 83%
CMYK
16, 0, 27, 4
Luminance
0.8094

Every format

HEX#cdf4b3
RGBrgb(205, 244, 179)
HSLhsl(96, 75%, 83%)
CMYKcmyk(16%, 0%, 27%, 4%)
LABlab(92.1 -23.9 27.3)
LCHlch(92.1 36.3 131.3)
OKLCHoklch(0.923 0.095 133.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf4b3 on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cdf4b3 on black: 17.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green95.7%
Blue70.2%

CMYK percentages

Cyan16.0%
Magenta0.0%
Yellow26.6%
Key (black)4.3%

Color previews

#cdf4b3 text on a black background

contrast 17.19:1

Card sample

#cdf4b3 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf4b3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf4b3 in the Color Lab