Skip to content

#c2df3d

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

RGB
194, 223, 61
HSL
71°, 72%, 56%
CMYK
13, 0, 73, 13
Luminance
0.6458

Every format

HEX#c2df3d
RGBrgb(194, 223, 61)
HSLhsl(71, 72%, 56%)
CMYKcmyk(13%, 0%, 73%, 13%)
LABlab(84.3 -30.0 71.3)
LCHlch(84.3 77.3 112.8)
OKLCHoklch(0.854 0.181 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green87.5%
Blue23.9%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow72.6%
Key (black)12.5%

Color previews

#c2df3d text on a black background

contrast 13.92:1

Card sample

#c2df3d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 223, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 223, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2df3d;
background: linear-gradient(135deg, #c2df3d, #56DF3D);

Monochromatic scale

Palettes built from #c2df3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2df3d in the Color Lab