Skip to content

#afbc92

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

RGB
175, 188, 146
HSL
79°, 24%, 66%
CMYK
7, 0, 22, 26
Luminance
0.4716

Every format

HEX#afbc92
RGBrgb(175, 188, 146)
HSLhsl(79, 24%, 66%)
CMYKcmyk(7%, 0%, 22%, 26%)
LABlab(74.3 -11.8 19.8)
LCHlch(74.3 23.1 120.9)
OKLCHoklch(0.774 0.059 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afbc92 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#afbc92 on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green73.7%
Blue57.3%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow22.3%
Key (black)26.3%

Color previews

#afbc92 text on a black background

contrast 10.43:1

Card sample

#afbc92 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afbc92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afbc92 in the Color Lab