#AAA87F

A color in the Yellow, Gold family

#aaa87f is a color in the Yellow, Gold family: RGB(170, 168, 127), HSL(57°, 20%, 58%), CMYK(0%, 1%, 25%, 33%). Closest named color: darkgray. Contrast is 2.44:1 on white and 8.62:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aaa87f
RGBrgb(170 168 127)
RGB (legacy)rgb(170, 168, 127)
RGB %rgb(67% 66% 50%)
HSLhsl(57 20% 58%)
HSV / HSBhsv(57, 25%, 67%)
HWBhwb(57 50% 33%)
CMYKcmyk(0%, 1%, 25%, 33%)
CIELAB (D50)lab(68.24 -4.27 21.56)
LCHlch(68.24 21.98 101.2)
OKLaboklab(0.7227 -0.015 0.0544)
OKLCHoklch(0.7227 0.0564 105.39)
Decimal11184255

Properties

Color ToneYellow, Gold
Closest named colordarkgray ΔE 5.8
Closest web-safe color#999966
Hue57°
Saturation (HSL / HSV)20% / 25%
Lightness (HSL)58%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)64% / 65%
Relative luminance (WCAG)0.3808
Red / Green / Blue170 / 168 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.62:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 48 / -54 · As background with white / black text: Lc -53 / 56

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #aaa87f;
  --color-brand-oklch: oklch(72.27% 0.0564 105.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 168 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa87f] text-[#aaa87f] border-[#aaa87f]">