Skip to content

#c2dfab

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

RGB
194, 223, 171
HSL
94°, 45%, 77%
CMYK
13, 0, 23, 13
Luminance
0.6718

Every format

HEX#c2dfab
RGBrgb(194, 223, 171)
HSLhsl(94, 45%, 77%)
CMYKcmyk(13%, 0%, 23%, 13%)
LABlab(85.6 -18.8 22.4)
LCHlch(85.6 29.2 130.0)
OKLCHoklch(0.869 0.076 131.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2dfab on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#c2dfab on black: 14.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green87.5%
Blue67.1%

CMYK percentages

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

Color previews

#c2dfab text on a black background

contrast 14.44:1

Card sample

#c2dfab text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dfab in the Color Lab