Skip to content

#a0cf39

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

RGB
160, 207, 57
HSL
79°, 61%, 52%
CMYK
23, 0, 73, 19
Luminance
0.5239

Every format

HEX#a0cf39
RGBrgb(160, 207, 57)
HSLhsl(79, 61%, 52%)
CMYKcmyk(23%, 0%, 73%, 19%)
LABlab(77.5 -36.2 65.3)
LCHlch(77.5 74.7 119.0)
OKLCHoklch(0.794 0.179 125.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0cf39 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#a0cf39 on black: 11.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green81.2%
Blue22.4%

CMYK percentages

Cyan22.7%
Magenta0.0%
Yellow72.5%
Key (black)18.8%

Color previews

#a0cf39 text on a black background

contrast 11.48:1

Card sample

#a0cf39 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a0cf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0cf39 in the Color Lab