Skip to content

#a2cf3f

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

RGB
162, 207, 63
HSL
79°, 60%, 53%
CMYK
22, 0, 70, 19
Luminance
0.5267

Every format

HEX#a2cf3f
RGBrgb(162, 207, 63)
HSLhsl(79, 60%, 53%)
CMYKcmyk(22%, 0%, 70%, 19%)
LABlab(77.7 -35.1 63.4)
LCHlch(77.7 72.5 119.0)
OKLCHoklch(0.796 0.175 125.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red63.5%
Green81.2%
Blue24.7%

CMYK percentages

Cyan21.7%
Magenta0.0%
Yellow69.6%
Key (black)18.8%

Color previews

#a2cf3f text on a black background

contrast 11.53:1

Card sample

#a2cf3f text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2cf3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2cf3f in the Color Lab