Skip to content

#c2db9d

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

RGB
194, 219, 157
HSL
84°, 46%, 74%
CMYK
11, 0, 28, 14
Luminance
0.6457

Every format

HEX#c2db9d
RGBrgb(194, 219, 157)
HSLhsl(84, 46%, 74%)
CMYKcmyk(11%, 0%, 28%, 14%)
LABlab(84.3 -18.9 27.8)
LCHlch(84.3 33.6 124.2)
OKLCHoklch(0.858 0.086 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db9d on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#c2db9d on black: 13.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue61.6%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow28.3%
Key (black)14.1%

Color previews

#c2db9d text on a black background

contrast 13.91:1

Card sample

#c2db9d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 219, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 219, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2db9d;
background: linear-gradient(135deg, #c2db9d, #9DDBA1);

Monochromatic scale

Palettes built from #c2db9d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db9d in the Color Lab