Skip to content

#c8df56

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

RGB
200, 223, 86
HSL
70°, 68%, 61%
CMYK
10, 0, 61, 13
Luminance
0.6573

Every format

HEX#c8df56
RGBrgb(200, 223, 86)
HSLhsl(70, 68%, 61%)
CMYKcmyk(10%, 0%, 61%, 13%)
LABlab(84.9 -26.1 62.6)
LCHlch(84.9 67.8 112.6)
OKLCHoklch(0.861 0.162 118.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8df56 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#c8df56 on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green87.5%
Blue33.7%

CMYK percentages

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

Color previews

#c8df56 text on a black background

contrast 14.15:1

Card sample

#c8df56 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8df56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8df56 in the Color Lab