#AAA287#AAA287

#AAA287 is a light, muted yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.039 H 93.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AAA287
RGBrgb(170, 162, 135)
HSLhsl(46, 17%, 60%)
HSVhsv(46, 21%, 67%)
CMYKcmyk(0%, 4.7%, 20.6%, 33.3%)
CIE-LABlab(66.62, -1.65, 15.11)
CIE-LCHlch(66.62, 15.20, 96.24°)
OKLaboklab(71.17% -0.0023 0.0388)
OKLCHoklch(71.17% 0.039 93.5)
XYZxyz(33.8710, 36.1366, 28.1077)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA287 #878FAA
analogous
#AA9187 #AAA287 #A0AA87
triadic
#AAA287 #87AAA2 #A287AA
tetradic
#AAA287 #87AA91 #878FAA #AA87A0
square
#AAA287 #87AA91 #878FAA #AA87A0
split-complementary
#AAA287 #87A0AA #9187AA
monochromatic
#6B644C #8F8565 #AAA287 #C3BEAB #DDDACF

Accessibility & contrast

On white

2.55
#AAA287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AAA287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA287
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA287#FFFFFF#000000##000000
##AAA2871.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A185
Deuteranopia (green-blind)
#AAA388
Tritanopia (blue-blind)
#B09E9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aaa287;
/* rgb */ color: rgb(170, 162, 135);
/* oklch */ color: oklch(71.2% 0.039 93.5);
Tailwind
colors: {
  custom: {
    50: '#c3bdaa',
    500: '#aaa287',
    950: '#000000',
  },
}
SCSS
$custom: #aaa287;
$custom-light: #c3bdaa;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa287",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 135
  },
  "hsl": {
    "h": 46.286,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.71172,
    "c": 0.03885,
    "h": 93.5
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#AAA287
secondary
#C0C3CD
accent
#7FBA6E
background
#FCFBFA
surface
#F8F6F4
border
#D1D0CE
text
#121210
muted
#81817F

Preview Lab

Preview with #AAA287

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

Preview Lab → · Contrast checker → · Palette generator →

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