#AAA171#AAA171

#AAA171 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.066 H 98.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#AAA171
RGBrgb(170, 161, 113)
HSLhsl(51, 25%, 55%)
HSVhsv(51, 34%, 67%)
CMYKcmyk(0%, 5.3%, 33.5%, 33.3%)
CIE-LABlab(65.93, -4.20, 26.22)
CIE-LCHlch(65.93, 26.55, 99.10°)
OKLaboklab(70.48% -0.0101 0.0653)
OKLCHoklch(70.48% 0.066 98.8)
XYZxyz(32.3035, 35.2289, 20.7178)
Luminance0.3523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA171 #717AAA
analogous
#AA8471 #AAA171 #96AA71
triadic
#AAA171 #71AAA1 #A171AA
tetradic
#AAA171 #71AA84 #717AAA #AA7196
square
#AAA171 #71AA84 #717AAA #AA7196
split-complementary
#AAA171 #7196AA #8471AA
monochromatic
#645E3C #8B8253 #AAA171 #C1BA97 #D8D4BE

Accessibility & contrast

On white

2.61
#AAA171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#AAA171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA171
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA171#FFFFFF#000000##000000
##AAA1711.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9E6E
Deuteranopia (green-blind)
#ADA273
Tritanopia (blue-blind)
#B29A95
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aaa171;
/* rgb */ color: rgb(170, 161, 113);
/* oklch */ color: oklch(70.5% 0.066 98.8);
Tailwind
colors: {
  custom: {
    50: '#c4bc9a',
    500: '#aaa171',
    950: '#000000',
  },
}
SCSS
$custom: #aaa171;
$custom-light: #c4bc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa171",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 113
  },
  "hsl": {
    "h": 50.526,
    "s": 25.11,
    "l": 55.49
  },
  "oklch": {
    "l": 0.70481,
    "c": 0.06608,
    "h": 98.8
  },
  "luminance": 0.35228
}

Semantic roles & 50–950 ramp

primary
#AAA171
secondary
#B0B3C7
accent
#75C266
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AAA171

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

Preview Lab → · Contrast checker → · Palette generator →

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