Skip to content

#a6d2ab

a light, soft green · cool · closest name: beige

RGB
166, 210, 171
HSL
127°, 33%, 74%
CMYK
21, 0, 19, 18
Luminance
0.5714

Every format

HEX#a6d2ab
RGBrgb(166, 210, 171)
HSLhsl(127, 33%, 74%)
CMYKcmyk(21%, 0%, 19%, 18%)
LABlab(80.3 -22.0 14.7)
LCHlch(80.3 26.4 146.3)
OKLCHoklch(0.822 0.071 148.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a6d2ab on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#a6d2ab on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.1%
Green82.4%
Blue67.1%

CMYK percentages

Cyan21.0%
Magenta0.0%
Yellow18.6%
Key (black)17.6%

Color previews

#a6d2ab text on a black background

contrast 12.43:1

Card sample

#a6d2ab text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a6d2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a6d2ab in the Color Lab