Skip to content

#cdf0b8

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

RGB
205, 240, 184
HSL
98°, 65%, 83%
CMYK
15, 0, 23, 6
Luminance
0.7876

Every format

HEX#cdf0b8
RGBrgb(205, 240, 184)
HSLhsl(98, 65%, 83%)
CMYKcmyk(15%, 0%, 23%, 6%)
LABlab(91.1 -21.3 23.4)
LCHlch(91.1 31.6 132.3)
OKLCHoklch(0.916 0.083 133.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green94.1%
Blue72.2%

CMYK percentages

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

Color previews

#cdf0b8 text on a black background

contrast 16.75:1

Card sample

#cdf0b8 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf0b8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf0b8 in the Color Lab