#AAA987#AAA987

#AAA987 is a light, muted yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.047 H 106.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#AAA987
RGBrgb(170, 169, 135)
HSLhsl(58, 17%, 60%)
HSVhsv(58, 21%, 67%)
CMYKcmyk(0%, 0.6%, 20.6%, 33.3%)
CIE-LABlab(68.51, -5.42, 17.73)
CIE-LCHlch(68.51, 18.54, 107.01°)
OKLaboklab(72.66% -0.0131 0.0453)
OKLCHoklch(72.66% 0.047 106.1)
XYZxyz(35.1385, 38.6717, 28.5303)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA987 #8788AA
analogous
#AA9887 #AAA987 #9AAA87
triadic
#AAA987 #87AAA9 #A987AA
tetradic
#AAA987 #87AA98 #8788AA #AA879A
square
#AAA987 #87AA98 #8788AA #AA879A
split-complementary
#AAA987 #879AAA #9887AA
monochromatic
#6B6A4C #8F8E65 #AAA987 #C3C3AB #DDDCCF

Accessibility & contrast

On white

2.40
#AAA987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#AAA987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA987
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA987#FFFFFF#000000##000000
##AAA9871.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA685
Deuteranopia (green-blind)
#B0A888
Tritanopia (blue-blind)
#AFA4A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aaa987;
/* rgb */ color: rgb(170, 169, 135);
/* oklch */ color: oklch(72.7% 0.047 106.1);
Tailwind
colors: {
  custom: {
    50: '#c3c2aa',
    500: '#aaa987',
    950: '#000000',
  },
}
SCSS
$custom: #aaa987;
$custom-light: #c3c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa987",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 135
  },
  "hsl": {
    "h": 58.286,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.0471,
    "h": 106.1
  },
  "luminance": 0.38671
}

Semantic roles & 50–950 ramp

primary
#AAA987
secondary
#C0C0CD
accent
#70BA6E
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #AAA987

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

Preview Lab → · Contrast checker → · Palette generator →

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