Skip to content

#c2db5f

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

RGB
194, 219, 95
HSL
72°, 63%, 62%
CMYK
11, 0, 57, 14
Luminance
0.6296

Every format

HEX#c2db5f
RGBrgb(194, 219, 95)
HSLhsl(72, 63%, 62%)
CMYKcmyk(11%, 0%, 57%, 14%)
LABlab(83.4 -25.9 57.0)
LCHlch(83.4 62.6 114.4)
OKLCHoklch(0.848 0.152 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2db5f on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#c2db5f on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.9%
Blue37.3%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow56.6%
Key (black)14.1%

Color previews

#c2db5f text on a black background

contrast 13.59:1

Card sample

#c2db5f text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2db5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2db5f in the Color Lab