Skip to content

#c2db7e

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

RGB
194, 219, 126
HSL
76°, 56%, 68%
CMYK
11, 0, 43, 14
Luminance
0.6364

Every format

HEX#c2db7e
RGBrgb(194, 219, 126)
HSLhsl(76, 56%, 68%)
CMYKcmyk(11%, 0%, 43%, 14%)
LABlab(83.8 -22.9 42.9)
LCHlch(83.8 48.6 118.1)
OKLCHoklch(0.852 0.122 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db7e on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#c2db7e on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue49.4%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow42.5%
Key (black)14.1%

Color previews

#c2db7e text on a black background

contrast 13.73:1

Card sample

#c2db7e text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db7e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db7e in the Color Lab