#AA8F2B#AA8F2B

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

Color values

HEX#AA8F2B
RGBrgb(170, 143, 43)
HSLhsl(47, 60%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 15.9%, 74.7%, 33.3%)
CIE-LABlab(60.22, -0.51, 53.87)
CIE-LCHlch(60.22, 53.87, 90.54°)
OKLaboklab(65.7% -0.0069 0.1188)
OKLCHoklch(65.7% 0.119 93.3)
XYZxyz(26.8375, 28.3669, 6.3468)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8F2B #2B46AA
analogous
#AA502B #AA8F2B #86AA2B
triadic
#AA8F2B #2BAA8F #8F2BAA
tetradic
#AA8F2B #2BAA50 #2B46AA #AA2B86
square
#AA8F2B #2BAA50 #2B46AA #AA2B86
split-complementary
#AA8F2B #2B86AA #502BAA
monochromatic
#483D12 #79661F #AA8F2B #CFB243 #DCC674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA8F2B#FFFFFF#000000##000000
##AA8F2B1.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)
#9F8D1A
Deuteranopia (green-blind)
#A59531
Tritanopia (blue-blind)
#B8837B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #aa8f2b;
/* rgb */ color: rgb(170, 143, 43);
/* oklch */ color: oklch(65.7% 0.119 93.3);
Tailwind
colors: {
  custom: {
    50: '#c7af6b',
    500: '#aa8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #aa8f2b;
$custom-light: #c7af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8f2b",
  "rgb": {
    "r": 170,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 47.244,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.11904,
    "h": 93.3
  },
  "luminance": 0.28365
}

Semantic roles & 50–950 ramp

primary
#AA8F2B
secondary
#6E80C3
accent
#67E345
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AA8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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