#AAA787#AAA787

#AAA787 is a light, muted yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.045 H 103.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#AAA787
RGBrgb(170, 167, 135)
HSLhsl(55, 17%, 60%)
HSVhsv(55, 21%, 67%)
CMYKcmyk(0%, 1.8%, 20.6%, 33.3%)
CIE-LABlab(67.97, -4.35, 16.98)
CIE-LCHlch(67.97, 17.53, 104.38°)
OKLaboklab(72.24% -0.01 0.0434)
OKLCHoklch(72.24% 0.045 103)
XYZxyz(34.7693, 37.9332, 28.4072)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA787 #878AAA
analogous
#AA9687 #AAA787 #9CAA87
triadic
#AAA787 #87AAA7 #A787AA
tetradic
#AAA787 #87AA96 #878AAA #AA879C
square
#AAA787 #87AA96 #878AAA #AA879C
split-complementary
#AAA787 #879CAA #9687AA
monochromatic
#6B684C #8F8B65 #AAA787 #C3C1AB #DDDCCF

Accessibility & contrast

On white

2.45
#AAA787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AAA787#FFFFFF#000000##000000
##AAA7871.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA585
Deuteranopia (green-blind)
#AEA788
Tritanopia (blue-blind)
#B0A39E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa787;
/* rgb */ color: rgb(170, 167, 135);
/* oklch */ color: oklch(72.2% 0.045 103.0);
Tailwind
colors: {
  custom: {
    50: '#c3c1aa',
    500: '#aaa787',
    950: '#000000',
  },
}
SCSS
$custom: #aaa787;
$custom-light: #c3c1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa787",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 54.857,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.72235,
    "c": 0.04455,
    "h": 103
  },
  "luminance": 0.37933
}

Semantic roles & 50–950 ramp

primary
#AAA787
secondary
#C0C1CD
accent
#75BA6E
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #AAA787

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

Preview Lab → · Contrast checker → · Palette generator →

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