Skip to content

#accc47

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

RGB
172, 204, 71
HSL
74°, 57%, 54%
CMYK
16, 0, 65, 20
Luminance
0.5241

Every format

HEX#accc47
RGBrgb(172, 204, 71)
HSLhsl(74, 57%, 54%)
CMYKcmyk(16%, 0%, 65%, 20%)
LABlab(77.5 -29.2 60.4)
LCHlch(77.5 67.1 115.9)
OKLCHoklch(0.796 0.161 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accc47 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#accc47 on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.0%
Blue27.8%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow65.2%
Key (black)20.0%

Color previews

#accc47 text on a black background

contrast 11.48:1

Card sample

#accc47 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 204, 71, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 204, 71, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accc47;
background: linear-gradient(135deg, #accc47, #53CC47);

Monochromatic scale

Palettes built from #accc47

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accc47 in the Color Lab