#AAA87A#AAA87A

#AAA87A is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.063 H 105.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AAA87A
RGBrgb(170, 168, 122)
HSLhsl(58, 22%, 57%)
HSVhsv(58, 28%, 67%)
CMYKcmyk(0%, 1.2%, 28.2%, 33.3%)
CIE-LABlab(67.99, -6.76, 24.10)
CIE-LCHlch(67.99, 25.03, 105.67°)
OKLaboklab(72.17% -0.0171 0.0605)
OKLCHoklch(72.17% 0.063 105.8)
XYZxyz(34.0932, 37.9570, 23.9390)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA87A #7A7CAA
analogous
#AA907A #AAA87A #94AA7A
triadic
#AAA87A #7AAAA8 #A87AAA
tetradic
#AAA87A #7AAA90 #7A7CAA #AA7A94
square
#AAA87A #7AAA90 #7A7CAA #AA7A94
split-complementary
#AAA87A #7A94AA #907AAA
monochromatic
#676642 #8D8B5A #AAA87A #C2C09F #DAD9C5

Accessibility & contrast

On white

2.44
#AAA87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#AAA87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA87A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA87A#FFFFFF#000000##000000
##AAA87A1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A477
Deuteranopia (green-blind)
#B1A77C
Tritanopia (blue-blind)
#B1A29C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa87a;
/* rgb */ color: rgb(170, 168, 122);
/* oklch */ color: oklch(72.2% 0.063 105.8);
Tailwind
colors: {
  custom: {
    50: '#c4c1a0',
    500: '#aaa87a',
    950: '#000000',
  },
}
SCSS
$custom: #aaa87a;
$custom-light: #c4c1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa87a",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 122
  },
  "hsl": {
    "h": 57.5,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.72166,
    "c": 0.06286,
    "h": 105.8
  },
  "luminance": 0.37956
}

Semantic roles & 50–950 ramp

primary
#AAA87A
secondary
#B6B7CA
accent
#6DBF69
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#12120F
muted
#81817E

Preview Lab

Preview with #AAA87A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AAA87A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva