Skip to content

#accd56

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

RGB
172, 205, 86
HSL
77°, 54%, 57%
CMYK
16, 0, 58, 20
Luminance
0.5311

Every format

HEX#accd56
RGBrgb(172, 205, 86)
HSLhsl(77, 54%, 57%)
CMYKcmyk(16%, 0%, 58%, 20%)
LABlab(77.9 -28.6 54.4)
LCHlch(77.9 61.5 117.7)
OKLCHoklch(0.800 0.150 122.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accd56 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#accd56 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.4%
Blue33.7%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow58.0%
Key (black)19.6%

Color previews

#accd56 text on a black background

contrast 11.62:1

Card sample

#accd56 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 205, 86, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 205, 86, 0.45);
Border & gradient
Gradient panel
border: 3px solid #accd56;
background: linear-gradient(135deg, #accd56, #5DCD56);

Monochromatic scale

Palettes built from #accd56

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accd56 in the Color Lab