Skip to content

#8af354

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

RGB
138, 243, 84
HSL
100°, 87%, 64%
CMYK
43, 0, 65, 5
Luminance
0.7014

Every format

HEX#8af354
RGBrgb(138, 243, 84)
HSLhsl(100, 87%, 64%)
CMYKcmyk(43%, 0%, 65%, 5%)
LABlab(87.1 -57.1 64.8)
LCHlch(87.1 86.3 131.4)
OKLCHoklch(0.869 0.217 136.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green95.3%
Blue32.9%

CMYK percentages

Cyan43.2%
Magenta0.0%
Yellow65.4%
Key (black)4.7%

Color previews

#8af354 text on a black background

contrast 15.03:1

Card sample

#8af354 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 243, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 243, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af354;
background: linear-gradient(135deg, #8af354, #54F388);

Monochromatic scale

Palettes built from #8af354

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8af354 in the Color Lab