Skip to content

#afbc87

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

RGB
175, 188, 135
HSL
75°, 28%, 63%
CMYK
7, 0, 28, 26
Luminance
0.4683

Every format

HEX#afbc87
RGBrgb(175, 188, 135)
HSLhsl(75, 28%, 63%)
CMYKcmyk(7%, 0%, 28%, 26%)
LABlab(74.1 -13.5 25.4)
LCHlch(74.1 28.7 117.9)
OKLCHoklch(0.772 0.073 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbc87 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#afbc87 on black: 10.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green73.7%
Blue52.9%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow28.2%
Key (black)26.3%

Color previews

#afbc87 text on a black background

contrast 10.37:1

Card sample

#afbc87 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 188, 135, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 188, 135, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afbc87;
background: linear-gradient(135deg, #afbc87, #8CBC87);

Monochromatic scale

Palettes built from #afbc87

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbc87 in the Color Lab