Skip to content

#acf97f

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

RGB
172, 249, 127
HSL
98°, 91%, 74%
CMYK
31, 0, 49, 2
Luminance
0.7805

Every format

HEX#acf97f
RGBrgb(172, 249, 127)
HSLhsl(98, 91%, 74%)
CMYKcmyk(31%, 0%, 49%, 2%)
LABlab(90.8 -44.4 50.8)
LCHlch(90.8 67.5 131.2)
OKLCHoklch(0.905 0.173 135.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green97.6%
Blue49.8%

CMYK percentages

Cyan30.9%
Magenta0.0%
Yellow49.0%
Key (black)2.4%

Color previews

#acf97f text on a black background

contrast 16.61:1

Card sample

#acf97f text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 249, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 249, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acf97f;
background: linear-gradient(135deg, #acf97f, #7FF9A3);

Monochromatic scale

Palettes built from #acf97f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acf97f in the Color Lab