Skip to content

#a3cb21

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

RGB
163, 203, 33
HSL
74°, 72%, 46%
CMYK
20, 0, 84, 20
Luminance
0.5061

Every format

HEX#a3cb21
RGBrgb(163, 203, 33)
HSLhsl(74, 72%, 46%)
CMYKcmyk(20%, 0%, 84%, 20%)
LABlab(76.4 -34.2 71.4)
LCHlch(76.4 79.2 115.6)
OKLCHoklch(0.785 0.185 123.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a3cb21 on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#a3cb21 on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green79.6%
Blue12.9%

CMYK percentages

Cyan19.7%
Magenta0.0%
Yellow83.7%
Key (black)20.4%

Color previews

#a3cb21 text on a black background

contrast 11.12:1

Card sample

#a3cb21 text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a3cb21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a3cb21 in the Color Lab