Skip to content

#a7cfab

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

RGB
167, 207, 171
HSL
126°, 29%, 73%
CMYK
19, 0, 17, 19
Luminance
0.5578

Every format

HEX#a7cfab
RGBrgb(167, 207, 171)
HSLhsl(126, 29%, 73%)
CMYKcmyk(19%, 0%, 17%, 19%)
LABlab(79.5 -20.2 13.6)
LCHlch(79.5 24.3 146.0)
OKLCHoklch(0.816 0.066 147.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a7cfab on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#a7cfab on black: 12.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green81.2%
Blue67.1%

CMYK percentages

Cyan19.3%
Magenta0.0%
Yellow17.4%
Key (black)18.8%

Color previews

#a7cfab text on a black background

contrast 12.16:1

Card sample

#a7cfab text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a7cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a7cfab in the Color Lab