#AAA87C#AAA87C

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

Color values

HEX#AAA87C
RGBrgb(170, 168, 124)
HSLhsl(57, 21%, 58%)
HSVhsv(57, 27%, 67%)
CMYKcmyk(0%, 1.2%, 27.1%, 33.3%)
CIE-LABlab(68.03, -6.49, 23.06)
CIE-LCHlch(68.03, 23.96, 105.71°)
OKLaboklab(72.21% -0.0162 0.0581)
OKLCHoklch(72.21% 0.06 105.6)
XYZxyz(34.2184, 38.0071, 24.5984)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA87C #7C7EAA
analogous
#AA917C #AAA87C #95AA7C
triadic
#AAA87C #7CAAA8 #A87CAA
tetradic
#AAA87C #7CAA91 #7C7EAA #AA7C95
square
#AAA87C #7CAA91 #7C7EAA #AA7C95
split-complementary
#AAA87C #7C95AA #917CAA
monochromatic
#686644 #8D8B5C #AAA87C #C2C1A1 #DAD9C6

Accessibility & contrast

On white

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

On black

8.60
#AAA87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA87C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA87C#FFFFFF#000000##000000
##AAA87C1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aaa87c;
/* rgb */ color: rgb(170, 168, 124);
/* oklch */ color: oklch(72.2% 0.060 105.6);
Tailwind
colors: {
  custom: {
    50: '#c4c1a2',
    500: '#aaa87c',
    950: '#000000',
  },
}
SCSS
$custom: #aaa87c;
$custom-light: #c4c1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa87c",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 124
  },
  "hsl": {
    "h": 57.391,
    "s": 21.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.72207,
    "c": 0.06029,
    "h": 105.6
  },
  "luminance": 0.38007
}

Semantic roles & 50–950 ramp

primary
#AAA87C
secondary
#B8B8CA
accent
#6EBE6A
background
#FCFBFA
surface
#F8F7F3
border
#D1D0CD
text
#12120F
muted
#81817F

Preview Lab

Preview with #AAA87C

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

Preview Lab → · Contrast checker → · Palette generator →

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