Skip to content

#c2dc5f

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

RGB
194, 220, 95
HSL
73°, 64%, 62%
CMYK
12, 0, 57, 14
Luminance
0.6348

Every format

HEX#c2dc5f
RGBrgb(194, 220, 95)
HSLhsl(73, 64%, 62%)
CMYKcmyk(12%, 0%, 57%, 14%)
LABlab(83.7 -26.3 57.4)
LCHlch(83.7 63.1 114.7)
OKLCHoklch(0.850 0.153 119.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green86.3%
Blue37.3%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow56.8%
Key (black)13.7%

Color previews

#c2dc5f text on a black background

contrast 13.70:1

Card sample

#c2dc5f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2dc5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2dc5f in the Color Lab