Skip to content

#c8fbaf

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

RGB
200, 251, 175
HSL
100°, 91%, 84%
CMYK
20, 0, 30, 2
Luminance
0.8437

Every format

HEX#c8fbaf
RGBrgb(200, 251, 175)
HSLhsl(100, 91%, 84%)
CMYKcmyk(20%, 0%, 30%, 2%)
LABlab(93.6 -29.6 31.3)
LCHlch(93.6 43.1 133.4)
OKLCHoklch(0.934 0.113 135.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8fbaf on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#c8fbaf on black: 17.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green98.4%
Blue68.6%

CMYK percentages

Cyan20.3%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#c8fbaf text on a black background

contrast 17.87:1

Card sample

#c8fbaf text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8fbaf in the Color Lab