#AAA971#AAA971

#AAA971 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.075 H 107.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#AAA971
RGBrgb(170, 169, 113)
HSLhsl(59, 25%, 55%)
HSVhsv(59, 34%, 67%)
CMYKcmyk(0%, 0.6%, 33.5%, 33.3%)
CIE-LABlab(68.11, -8.47, 29.09)
CIE-LCHlch(68.11, 30.30, 106.23°)
OKLaboklab(72.21% -0.0224 0.072)
OKLCHoklch(72.21% 0.075 107.3)
XYZxyz(33.7465, 38.1149, 21.1988)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA971 #7172AA
analogous
#AA8C71 #AAA971 #8EAA71
triadic
#AAA971 #71AAA9 #A971AA
tetradic
#AAA971 #71AA8C #7172AA #AA718E
square
#AAA971 #71AA8C #7172AA #AA718E
split-complementary
#AAA971 #718EAA #8C71AA
monochromatic
#64643C #8B8A53 #AAA971 #C1C097 #D8D7BE

Accessibility & contrast

On white

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

On black

8.62
#AAA971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA971
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA971#FFFFFF#000000##000000
##AAA9711.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56D
Deuteranopia (green-blind)
#B3A773
Tritanopia (blue-blind)
#B2A29B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aaa971;
/* rgb */ color: rgb(170, 169, 113);
/* oklch */ color: oklch(72.2% 0.075 107.3);
Tailwind
colors: {
  custom: {
    50: '#c4c29a',
    500: '#aaa971',
    950: '#000000',
  },
}
SCSS
$custom: #aaa971;
$custom-light: #c4c29a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa971",
  "rgb": {
    "r": 170,
    "g": 169,
    "b": 113
  },
  "hsl": {
    "h": 58.947,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.72207,
    "c": 0.07543,
    "h": 107.3
  },
  "luminance": 0.38114
}

Semantic roles & 50–950 ramp

primary
#AAA971
secondary
#B0B0C7
accent
#68C266
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA971

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

Preview Lab → · Contrast checker → · Palette generator →

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