Skip to content

#a6cd3d

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

RGB
166, 205, 61
HSL
76°, 59%, 52%
CMYK
19, 0, 70, 20
Luminance
0.5211

Every format

HEX#a6cd3d
RGBrgb(166, 205, 61)
HSLhsl(76, 59%, 52%)
CMYKcmyk(19%, 0%, 70%, 20%)
LABlab(77.3 -32.7 63.9)
LCHlch(77.3 71.8 117.1)
OKLCHoklch(0.793 0.172 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red65.1%
Green80.4%
Blue23.9%

CMYK percentages

Cyan19.0%
Magenta0.0%
Yellow70.2%
Key (black)19.6%

Color previews

#a6cd3d text on a black background

contrast 11.42:1

Card sample

#a6cd3d text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(166, 205, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(166, 205, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a6cd3d;
background: linear-gradient(135deg, #a6cd3d, #46CD3D);

Monochromatic scale

Palettes built from #a6cd3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6cd3d in the Color Lab