#AA8A2A#AA8A2A

#AA8A2A is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.6% C 0.117 H 89.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA8A2A
RGBrgb(170, 138, 42)
HSLhsl(45, 60%, 42%)
HSVhsv(45, 75%, 67%)
CMYKcmyk(0%, 18.8%, 75.3%, 33.3%)
CIE-LABlab(58.87, 2.20, 52.96)
CIE-LCHlch(58.87, 53.00, 87.62°)
OKLaboklab(64.63% 0.0007 0.1167)
OKLCHoklch(64.63% 0.117 89.6)
XYZxyz(26.0855, 26.8918, 6.0067)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8A2A #2A4AAA
analogous
#AA4A2A #AA8A2A #8AAA2A
triadic
#AA8A2A #2AAA8A #8A2AAA
tetradic
#AA8A2A #2AAA4A #2A4AAA #AA2A8A
square
#AA8A2A #2AAA4A #2A4AAA #AA2A8A
split-complementary
#AA8A2A #2A8AAA #4A2AAA
monochromatic
#483A12 #79621E #AA8A2A #D0AC41 #DCC272

Accessibility & contrast

On white

3.29
#AA8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AA8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8A2A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8A2A#FFFFFF#000000##000000
##AA8A2A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#B87E77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #aa8a2a;
/* rgb */ color: rgb(170, 138, 42);
/* oklch */ color: oklch(64.6% 0.117 89.6);
Tailwind
colors: {
  custom: {
    50: '#c7ab6a',
    500: '#aa8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa8a2a;
$custom-light: #c7ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8a2a",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64633,
    "c": 0.11671,
    "h": 89.6
  },
  "luminance": 0.2689
}

Semantic roles & 50–950 ramp

primary
#AA8A2A
secondary
#6C82C3
accent
#6CE444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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