Skip to content

#accf2e

a balanced, vivid green · cool · closest name: olivedrab

RGB
172, 207, 46
HSL
73°, 64%, 50%
CMYK
17, 0, 78, 19
Luminance
0.5359

Every format

HEX#accf2e
RGBrgb(172, 207, 46)
HSLhsl(73, 64%, 50%)
CMYKcmyk(17%, 0%, 78%, 19%)
LABlab(78.2 -32.0 69.8)
LCHlch(78.2 76.8 114.6)
OKLCHoklch(0.801 0.180 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accf2e on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#accf2e on black: 11.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green81.2%
Blue18.0%

CMYK percentages

Cyan16.9%
Magenta0.0%
Yellow77.8%
Key (black)18.8%

Color previews

#accf2e text on a black background

contrast 11.72:1

Card sample

#accf2e text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 207, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 207, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accf2e;
background: linear-gradient(135deg, #accf2e, #41CF2E);

Monochromatic scale

Palettes built from #accf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accf2e in the Color Lab