#AA8F2A#AA8F2A

#AA8F2A is a light, moderate yellow. Relative luminance 0.284; OKLCH L 65.7% C 0.120 H 93.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AA8F2A
RGBrgb(170, 143, 42)
HSLhsl(47, 60%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 15.9%, 75.3%, 33.3%)
CIE-LABlab(60.21, -0.55, 54.24)
CIE-LCHlch(60.21, 54.25, 90.58°)
OKLaboklab(65.69% -0.0071 0.1194)
OKLCHoklch(65.69% 0.12 93.4)
XYZxyz(26.8194, 28.3597, 6.2514)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F2A #2A45AA
analogous
#AA4F2A #AA8F2A #85AA2A
triadic
#AA8F2A #2AAA8F #8F2AAA
tetradic
#AA8F2A #2AAA4F #2A45AA #AA2A85
square
#AA8F2A #2AAA4F #2A45AA #AA2A85
split-complementary
#AA8F2A #2A85AA #4F2AAA
monochromatic
#483C12 #79661E #AA8F2A #D0B241 #DCC672

Accessibility & contrast

On white

3.15
#AA8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#AA8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8F2A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8F2A#FFFFFF#000000##000000
##AA8F2A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C19
Deuteranopia (green-blind)
#A59530
Tritanopia (blue-blind)
#B8837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f2a;
/* rgb */ color: rgb(170, 143, 42);
/* oklch */ color: oklch(65.7% 0.120 93.4);
Tailwind
colors: {
  custom: {
    50: '#c7af6b',
    500: '#aa8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f2a;
$custom-light: #c7af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f2a",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 47.344,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.11965,
    "h": 93.4
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#AA8F2A
secondary
#6C7FC3
accent
#66E444
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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