Skip to content

#cdf0ab

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

RGB
205, 240, 171
HSL
90°, 70%, 81%
CMYK
15, 0, 29, 6
Luminance
0.7824

Every format

HEX#cdf0ab
RGBrgb(205, 240, 171)
HSLhsl(90, 70%, 81%)
CMYKcmyk(15%, 0%, 29%, 6%)
LABlab(90.9 -23.2 29.7)
LCHlch(90.9 37.7 128.0)
OKLCHoklch(0.913 0.098 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green94.1%
Blue67.1%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow28.8%
Key (black)5.9%

Color previews

#cdf0ab text on a black background

contrast 16.65:1

Card sample

#cdf0ab text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf0ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf0ab in the Color Lab