Skip to content

#c1df4d

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

RGB
193, 223, 77
HSL
72°, 70%, 59%
CMYK
14, 0, 66, 13
Luminance
0.6465

Every format

HEX#c1df4d
RGBrgb(193, 223, 77)
HSLhsl(72, 70%, 59%)
CMYKcmyk(14%, 0%, 66%, 13%)
LABlab(84.3 -29.5 65.5)
LCHlch(84.3 71.8 114.2)
OKLCHoklch(0.855 0.172 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red75.7%
Green87.5%
Blue30.2%

CMYK percentages

Cyan13.5%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#c1df4d text on a black background

contrast 13.93:1

Card sample

#c1df4d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(193, 223, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 223, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1df4d;
background: linear-gradient(135deg, #c1df4d, #60DF4D);

Monochromatic scale

Palettes built from #c1df4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c1df4d in the Color Lab