Skip to content

#c7f9af

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

RGB
199, 249, 175
HSL
101°, 86%, 83%
CMYK
20, 0, 30, 2
Luminance
0.8299

Every format

HEX#c7f9af
RGBrgb(199, 249, 175)
HSLhsl(101, 86%, 83%)
CMYKcmyk(20%, 0%, 30%, 2%)
LABlab(93.0 -29.0 30.5)
LCHlch(93.0 42.1 133.5)
OKLCHoklch(0.929 0.110 135.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c7f9af on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#c7f9af on black: 17.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.0%
Green97.6%
Blue68.6%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow29.7%
Key (black)2.4%

Color previews

#c7f9af text on a black background

contrast 17.60:1

Card sample

#c7f9af text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7f9af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7f9af in the Color Lab