Skip to content

#c7fbaf

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

RGB
199, 251, 175
HSL
101°, 91%, 84%
CMYK
21, 0, 30, 2
Luminance
0.8423

Every format

HEX#c7fbaf
RGBrgb(199, 251, 175)
HSLhsl(101, 91%, 84%)
CMYKcmyk(21%, 0%, 30%, 2%)
LABlab(93.5 -29.9 31.2)
LCHlch(93.5 43.2 133.8)
OKLCHoklch(0.934 0.113 136.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7fbaf on white: 1.18:1
AA ✗ fail · AA-large · AAA
Aa
#c7fbaf on black: 17.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#c7fbaf text on a black background

contrast 17.85:1

Card sample

#c7fbaf text on a white background

contrast 1.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7fbaf in the Color Lab