Skip to content

#a7ce45

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

RGB
167, 206, 69
HSL
77°, 58%, 54%
CMYK
19, 0, 67, 19
Luminance
0.5279

Every format

HEX#a7ce45
RGBrgb(167, 206, 69)
HSLhsl(77, 58%, 54%)
CMYKcmyk(19%, 0%, 67%, 19%)
LABlab(77.8 -32.3 61.3)
LCHlch(77.8 69.3 117.8)
OKLCHoklch(0.797 0.167 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red65.5%
Green80.8%
Blue27.1%

CMYK percentages

Cyan18.9%
Magenta0.0%
Yellow66.5%
Key (black)19.2%

Color previews

#a7ce45 text on a black background

contrast 11.56:1

Card sample

#a7ce45 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 206, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 206, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a7ce45;
background: linear-gradient(135deg, #a7ce45, #4CCE45);

Monochromatic scale

Palettes built from #a7ce45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7ce45 in the Color Lab