Skip to content

#c8dfab

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

RGB
200, 223, 171
HSL
87°, 45%, 77%
CMYK
10, 0, 23, 13
Luminance
0.6799

Every format

HEX#c8dfab
RGBrgb(200, 223, 171)
HSLhsl(87, 45%, 77%)
CMYKcmyk(10%, 0%, 23%, 13%)
LABlab(86.0 -16.7 23.0)
LCHlch(86.0 28.4 125.9)
OKLCHoklch(0.873 0.073 127.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8dfab on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#c8dfab on black: 14.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green87.5%
Blue67.1%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow23.3%
Key (black)12.5%

Color previews

#c8dfab text on a black background

contrast 14.60:1

Card sample

#c8dfab text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8dfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8dfab in the Color Lab