Skip to content

#a0cf49

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

RGB
160, 207, 73
HSL
81°, 58%, 55%
CMYK
23, 0, 65, 19
Luminance
0.5258

Every format

HEX#a0cf49
RGBrgb(160, 207, 73)
HSLhsl(81, 58%, 55%)
CMYKcmyk(23%, 0%, 65%, 19%)
LABlab(77.6 -35.2 59.4)
LCHlch(77.6 69.0 120.6)
OKLCHoklch(0.795 0.169 126.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red62.7%
Green81.2%
Blue28.6%

CMYK percentages

Cyan22.7%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#a0cf49 text on a black background

contrast 11.52:1

Card sample

#a0cf49 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(160, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0cf49;
background: linear-gradient(135deg, #a0cf49, #49CF4B);

Monochromatic scale

Palettes built from #a0cf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0cf49 in the Color Lab