Skip to content

#c5f2af

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

RGB
197, 242, 175
HSL
100°, 72%, 82%
CMYK
19, 0, 28, 5
Luminance
0.7847

Every format

HEX#c5f2af
RGBrgb(197, 242, 175)
HSLhsl(100, 72%, 82%)
CMYKcmyk(19%, 0%, 28%, 5%)
LABlab(91.0 -26.4 27.7)
LCHlch(91.0 38.3 133.5)
OKLCHoklch(0.913 0.100 135.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5f2af on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#c5f2af on black: 16.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green94.9%
Blue68.6%

CMYK percentages

Cyan18.6%
Magenta0.0%
Yellow27.7%
Key (black)5.1%

Color previews

#c5f2af text on a black background

contrast 16.69:1

Card sample

#c5f2af text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c5f2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5f2af in the Color Lab