Skip to content

#c8ffac

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

RGB
200, 255, 172
HSL
100°, 100%, 84%
CMYK
22, 0, 33, 0
Luminance
0.8678

Every format

HEX#c8ffac
RGBrgb(200, 255, 172)
HSLhsl(100, 100%, 84%)
CMYKcmyk(22%, 0%, 33%, 0%)
LABlab(94.6 -31.9 34.2)
LCHlch(94.6 46.7 133.0)
OKLCHoklch(0.943 0.122 135.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8ffac on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#c8ffac on black: 18.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green100.0%
Blue67.5%

CMYK percentages

Cyan21.6%
Magenta0.0%
Yellow32.5%
Key (black)0.0%

Color previews

#c8ffac text on a black background

contrast 18.36:1

Card sample

#c8ffac text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 255, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 255, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c8ffac;
background: linear-gradient(135deg, #c8ffac, #ACFFC7);

Monochromatic scale

Palettes built from #c8ffac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8ffac in the Color Lab