Skip to content

#8cd998

a light, vivid green · cool · closest name: aquamarine

RGB
140, 217, 152
HSL
129°, 50%, 70%
CMYK
36, 0, 30, 15
Luminance
0.5747

Every format

HEX#8cd998
RGBrgb(140, 217, 152)
HSLhsl(129, 50%, 70%)
CMYKcmyk(36%, 0%, 30%, 15%)
LABlab(80.4 -37.0 24.7)
LCHlch(80.4 44.5 146.3)
OKLCHoklch(0.818 0.119 148.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8cd998 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#8cd998 on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green85.1%
Blue59.6%

CMYK percentages

Cyan35.5%
Magenta0.0%
Yellow30.0%
Key (black)14.9%

Color previews

#8cd998 text on a black background

contrast 12.49:1

Card sample

#8cd998 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(140, 217, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 217, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8cd998;
background: linear-gradient(135deg, #8cd998, #8CD9CB);

Monochromatic scale

Palettes built from #8cd998

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8cd998 in the Color Lab