Skip to content

#a2cf32

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

RGB
162, 207, 50
HSL
77°, 62%, 50%
CMYK
22, 0, 76, 19
Luminance
0.5254

Every format

HEX#a2cf32
RGBrgb(162, 207, 50)
HSLhsl(77, 62%, 50%)
CMYKcmyk(22%, 0%, 76%, 19%)
LABlab(77.6 -35.8 67.8)
LCHlch(77.6 76.6 117.8)
OKLCHoklch(0.795 0.182 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green81.2%
Blue19.6%

CMYK percentages

Cyan21.7%
Magenta0.0%
Yellow75.8%
Key (black)18.8%

Color previews

#a2cf32 text on a black background

contrast 11.51:1

Card sample

#a2cf32 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 207, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 207, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2cf32;
background: linear-gradient(135deg, #a2cf32, #39CF32);

Monochromatic scale

Palettes built from #a2cf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cf32 in the Color Lab