Skip to content

#accc21

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

RGB
172, 204, 33
HSL
71°, 72%, 47%
CMYK
16, 0, 84, 20
Luminance
0.5207

Every format

HEX#accc21
RGBrgb(172, 204, 33)
HSLhsl(71, 72%, 47%)
CMYKcmyk(16%, 0%, 84%, 20%)
LABlab(77.3 -31.1 72.4)
LCHlch(77.3 78.8 113.2)
OKLCHoklch(0.794 0.182 120.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#accc21 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#accc21 on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green80.0%
Blue12.9%

CMYK percentages

Cyan15.7%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#accc21 text on a black background

contrast 11.41:1

Card sample

#accc21 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #accc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #accc21 in the Color Lab