#AAA873#AAA873

#AAA873 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.072 H 106.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AAA873
RGBrgb(170, 168, 115)
HSLhsl(58, 24%, 56%)
HSVhsv(58, 32%, 67%)
CMYKcmyk(0%, 1.2%, 32.4%, 33.3%)
CIE-LABlab(67.87, -7.69, 27.71)
CIE-LCHlch(67.87, 28.75, 105.51°)
OKLaboklab(72.03% -0.02 0.0689)
OKLCHoklch(72.03% 0.072 106.2)
XYZxyz(33.6750, 37.7897, 21.7365)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA873 #7375AA
analogous
#AA8C73 #AAA873 #90AA73
triadic
#AAA873 #73AAA8 #A873AA
tetradic
#AAA873 #73AA8C #7375AA #AA7390
square
#AAA873 #73AA8C #7375AA #AA7390
split-complementary
#AAA873 #7390AA #8C73AA
monochromatic
#65643D #8B8955 #AAA873 #C1C099 #D8D7BF

Accessibility & contrast

On white

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

On black

8.56
#AAA873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA873
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA873#FFFFFF#000000##000000
##AAA8731.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A46F
Deuteranopia (green-blind)
#B2A775
Tritanopia (blue-blind)
#B2A19A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aaa873;
/* rgb */ color: rgb(170, 168, 115);
/* oklch */ color: oklch(72.0% 0.072 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4c19c',
    500: '#aaa873',
    950: '#000000',
  },
}
SCSS
$custom: #aaa873;
$custom-light: #c4c19c;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa873",
  "rgb": {
    "r": 170,
    "g": 168,
    "b": 115
  },
  "hsl": {
    "h": 57.818,
    "s": 24.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.07171,
    "h": 106.2
  },
  "luminance": 0.37789
}

Semantic roles & 50–950 ramp

primary
#AAA873
secondary
#B1B2C8
accent
#6AC167
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA873

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

Preview Lab → · Contrast checker → · Palette generator →

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