Skip to content

#a0f080

a light, electric green · cool · closest name: khaki

RGB
160, 240, 128
HSL
103°, 79%, 72%
CMYK
33, 0, 47, 6
Luminance
0.7135

Every format

HEX#a0f080
RGBrgb(160, 240, 128)
HSLhsl(103, 79%, 72%)
CMYKcmyk(33%, 0%, 47%, 6%)
LABlab(87.7 -44.4 46.3)
LCHlch(87.7 64.2 133.8)
OKLCHoklch(0.878 0.166 137.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a0f080 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#a0f080 on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green94.1%
Blue50.2%

CMYK percentages

Cyan33.3%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#a0f080 text on a black background

contrast 15.27:1

Card sample

#a0f080 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(160, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(160, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a0f080;
background: linear-gradient(135deg, #a0f080, #80F0AB);

Monochromatic scale

Palettes built from #a0f080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a0f080 in the Color Lab