Skip to content

#c8df98

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

RGB
200, 223, 152
HSL
79°, 53%, 74%
CMYK
10, 0, 32, 13
Luminance
0.6732

Every format

HEX#c8df98
RGBrgb(200, 223, 152)
HSLhsl(79, 53%, 74%)
CMYKcmyk(10%, 0%, 32%, 13%)
LABlab(85.7 -19.4 32.4)
LCHlch(85.7 37.7 120.9)
OKLCHoklch(0.870 0.096 123.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8df98 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#c8df98 on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green87.5%
Blue59.6%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow31.8%
Key (black)12.5%

Color previews

#c8df98 text on a black background

contrast 14.46:1

Card sample

#c8df98 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8df98

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8df98 in the Color Lab