Skip to content

#8ab9a6

a balanced, soft green · cool · closest name: silver

RGB
138, 185, 166
HSL
156°, 25%, 63%
CMYK
25, 0, 10, 28
Luminance
0.4285

Every format

HEX#8ab9a6
RGBrgb(138, 185, 166)
HSLhsl(156, 25%, 63%)
CMYKcmyk(25%, 0%, 10%, 28%)
LABlab(71.5 -19.6 4.6)
LCHlch(71.5 20.1 166.7)
OKLCHoklch(0.747 0.057 168.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8ab9a6 on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#8ab9a6 on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green72.5%
Blue65.1%

CMYK percentages

Cyan25.4%
Magenta0.0%
Yellow10.3%
Key (black)27.5%

Color previews

#8ab9a6 text on a black background

contrast 9.57:1

Card sample

#8ab9a6 text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 185, 166, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 185, 166, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8ab9a6;
background: linear-gradient(135deg, #8ab9a6, #8AADB9);

Monochromatic scale

Palettes built from #8ab9a6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8ab9a6 in the Color Lab