Skip to content

#accd2e

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

RGB
172, 205, 46
HSL
73°, 63%, 49%
CMYK
16, 0, 78, 20
Luminance
0.5263

Every format

HEX#accd2e
RGBrgb(172, 205, 46)
HSLhsl(73, 63%, 49%)
CMYKcmyk(16%, 0%, 78%, 20%)
LABlab(77.7 -31.1 69.3)
LCHlch(77.7 75.9 114.2)
OKLCHoklch(0.797 0.178 121.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accd2e on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#accd2e on black: 11.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.4%
Blue18.0%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow77.6%
Key (black)19.6%

Color previews

#accd2e text on a black background

contrast 11.53:1

Card sample

#accd2e text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #accd2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accd2e in the Color Lab