Skip to content

#a3cc21

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

RGB
163, 204, 33
HSL
74°, 72%, 47%
CMYK
20, 0, 84, 20
Luminance
0.5108

Every format

HEX#a3cc21
RGBrgb(163, 204, 33)
HSLhsl(74, 72%, 47%)
CMYKcmyk(20%, 0%, 84%, 20%)
LABlab(76.7 -34.7 71.6)
LCHlch(76.7 79.6 115.8)
OKLCHoklch(0.788 0.186 123.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a3cc21 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#a3cc21 on black: 11.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green80.0%
Blue12.9%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#a3cc21 text on a black background

contrast 11.22:1

Card sample

#a3cc21 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a3cc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a3cc21 in the Color Lab