Skip to content

#accb2c

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

RGB
172, 203, 44
HSL
72°, 64%, 48%
CMYK
15, 0, 78, 20
Luminance
0.5166

Every format

HEX#accb2c
RGBrgb(172, 203, 44)
HSLhsl(72, 64%, 48%)
CMYKcmyk(15%, 0%, 78%, 20%)
LABlab(77.1 -30.2 69.3)
LCHlch(77.1 75.6 113.6)
OKLCHoklch(0.792 0.176 120.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accb2c on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#accb2c on black: 11.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green79.6%
Blue17.3%

CMYK percentages

Cyan15.3%
Magenta0.0%
Yellow78.3%
Key (black)20.4%

Color previews

#accb2c text on a black background

contrast 11.33:1

Card sample

#accb2c text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 203, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 203, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accb2c;
background: linear-gradient(135deg, #accb2c, #42CB2C);

Monochromatic scale

Palettes built from #accb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accb2c in the Color Lab