Skip to content

#8af261

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

RGB
138, 242, 97
HSL
103°, 85%, 67%
CMYK
43, 0, 60, 5
Luminance
0.6977

Every format

HEX#8af261
RGBrgb(138, 242, 97)
HSLhsl(103, 85%, 67%)
CMYKcmyk(43%, 0%, 60%, 5%)
LABlab(86.9 -55.5 59.3)
LCHlch(86.9 81.2 133.1)
OKLCHoklch(0.868 0.206 137.9)

Copy-ready code

/* CSS */
color: #8af261;
background-color: #8af261;
/* Tailwind (arbitrary) */
class="text-[#8af261] bg-[#8af261]"
/* SCSS */
$brand: #8af261;
/* SwiftUI */
Color(red: 0.541, green: 0.949, blue: 0.380)
/* Android */
Color.parseColor("#8af261")

Accessibility — WCAG contrast

Aa
#8af261 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#8af261 on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green94.9%
Blue38.0%

CMYK percentages

Cyan43.0%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#8af261 text on a black background

contrast 14.95:1

Card sample

#8af261 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 242, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 242, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af261;
background: linear-gradient(135deg, #8af261, #61F299);

Monochromatic scale

Palettes built from #8af261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af261 in the Color Lab