Skip to content

#c2db9e

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

RGB
194, 219, 158
HSL
85°, 46%, 74%
CMYK
11, 0, 28, 14
Luminance
0.6460

Every format

HEX#c2db9e
RGBrgb(194, 219, 158)
HSLhsl(85, 46%, 74%)
CMYKcmyk(11%, 0%, 28%, 14%)
LABlab(84.3 -18.8 27.3)
LCHlch(84.3 33.1 124.5)
OKLCHoklch(0.858 0.085 126.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green85.9%
Blue62.0%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow27.9%
Key (black)14.1%

Color previews

#c2db9e text on a black background

contrast 13.92:1

Card sample

#c2db9e text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db9e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db9e in the Color Lab