Skip to content

#aabb77

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

RGB
170, 187, 119
HSL
75°, 33%, 60%
CMYK
9, 0, 36, 27
Luminance
0.4542

Every format

HEX#aabb77
RGBrgb(170, 187, 119)
HSLhsl(75, 33%, 60%)
CMYKcmyk(9%, 0%, 36%, 27%)
LABlab(73.2 -17.0 32.5)
LCHlch(73.2 36.7 117.6)
OKLCHoklch(0.763 0.093 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aabb77 on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#aabb77 on black: 10.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green73.3%
Blue46.7%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow36.4%
Key (black)26.7%

Color previews

#aabb77 text on a black background

contrast 10.08:1

Card sample

#aabb77 text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(170, 187, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 187, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aabb77;
background: linear-gradient(135deg, #aabb77, #7DBB77);

Monochromatic scale

Palettes built from #aabb77

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aabb77 in the Color Lab