Skip to content

#c2db9f

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

RGB
194, 219, 159
HSL
85°, 46%, 74%
CMYK
11, 0, 27, 14
Luminance
0.6464

Every format

HEX#c2db9f
RGBrgb(194, 219, 159)
HSLhsl(85, 46%, 74%)
CMYKcmyk(11%, 0%, 27%, 14%)
LABlab(84.3 -18.6 26.8)
LCHlch(84.3 32.7 124.7)
OKLCHoklch(0.858 0.084 126.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green85.9%
Blue62.4%

CMYK percentages

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

Color previews

#c2db9f text on a black background

contrast 13.93:1

Card sample

#c2db9f text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db9f in the Color Lab