Skip to content

#c7df56

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

RGB
199, 223, 86
HSL
71°, 68%, 61%
CMYK
11, 0, 61, 13
Luminance
0.6559

Every format

HEX#c7df56
RGBrgb(199, 223, 86)
HSLhsl(71, 68%, 61%)
CMYKcmyk(11%, 0%, 61%, 13%)
LABlab(84.8 -26.5 62.5)
LCHlch(84.8 67.9 113.0)
OKLCHoklch(0.860 0.163 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7df56 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#c7df56 on black: 14.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green87.5%
Blue33.7%

CMYK percentages

Cyan10.8%
Magenta0.0%
Yellow61.4%
Key (black)12.5%

Color previews

#c7df56 text on a black background

contrast 14.12:1

Card sample

#c7df56 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 223, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 223, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c7df56;
background: linear-gradient(135deg, #c7df56, #6CDF56);

Monochromatic scale

Palettes built from #c7df56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7df56 in the Color Lab