Skip to content

#a7df8c

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

RGB
167, 223, 140
HSL
101°, 57%, 71%
CMYK
25, 0, 37, 13
Luminance
0.6288

Every format

HEX#a7df8c
RGBrgb(167, 223, 140)
HSLhsl(101, 57%, 71%)
CMYKcmyk(25%, 0%, 37%, 13%)
LABlab(83.4 -32.8 35.0)
LCHlch(83.4 48.0 133.1)
OKLCHoklch(0.845 0.125 135.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7df8c on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#a7df8c on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green87.5%
Blue54.9%

CMYK percentages

Cyan25.1%
Magenta0.0%
Yellow37.2%
Key (black)12.5%

Color previews

#a7df8c text on a black background

contrast 13.58:1

Card sample

#a7df8c text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 223, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 223, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7df8c;
background: linear-gradient(135deg, #a7df8c, #8CDFA8);

Monochromatic scale

Palettes built from #a7df8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7df8c in the Color Lab