Skip to content

#accd21

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

RGB
172, 205, 33
HSL
72°, 72%, 47%
CMYK
16, 0, 84, 20
Luminance
0.5254

Every format

HEX#accd21
RGBrgb(172, 205, 33)
HSLhsl(72, 72%, 47%)
CMYKcmyk(16%, 0%, 84%, 20%)
LABlab(77.6 -31.5 72.6)
LCHlch(77.6 79.2 113.5)
OKLCHoklch(0.796 0.183 121.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green80.4%
Blue12.9%

CMYK percentages

Cyan16.1%
Magenta0.0%
Yellow83.9%
Key (black)19.6%

Color previews

#accd21 text on a black background

contrast 11.51:1

Card sample

#accd21 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #accd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accd21 in the Color Lab