Skip to content

#a8c080

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

RGB
168, 192, 128
HSL
83°, 34%, 63%
CMYK
13, 0, 33, 25
Luminance
0.4758

Every format

HEX#a8c080
RGBrgb(168, 192, 128)
HSLhsl(83, 34%, 63%)
CMYKcmyk(13%, 0%, 33%, 25%)
LABlab(74.6 -19.1 29.6)
LCHlch(74.6 35.3 122.9)
OKLCHoklch(0.774 0.090 125.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a8c080 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#a8c080 on black: 10.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green75.3%
Blue50.2%

CMYK percentages

Cyan12.5%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#a8c080 text on a black background

contrast 10.52:1

Card sample

#a8c080 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 192, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 192, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8c080;
background: linear-gradient(135deg, #a8c080, #80C083);

Monochromatic scale

Palettes built from #a8c080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a8c080 in the Color Lab