#AA871B#AA871B

#AA871B is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.9% C 0.123 H 88.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA871B
RGBrgb(170, 135, 27)
HSLhsl(45, 73%, 39%)
HSVhsv(45, 84%, 67%)
CMYKcmyk(0%, 20.6%, 84.1%, 33.3%)
CIE-LABlab(57.99, 3.29, 57.39)
CIE-LCHlch(57.99, 57.48, 86.72°)
OKLaboklab(63.91% 0.0024 0.123)
OKLCHoklch(63.91% 0.123 88.9)
XYZxyz(25.4410, 25.9549, 4.7065)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA871B #1B3EAA
analogous
#AA3F1B #AA871B #85AA1B
triadic
#AA871B #1BAA87 #871BAA
tetradic
#AA871B #1BAA3F #1B3EAA #AA1B85
square
#AA871B #1BAA3F #1B3EAA #AA1B85
split-complementary
#AA871B #1B85AA #3F1BAA
monochromatic
#40330A #755D13 #AA871B #DCB026 #E5C35B

Accessibility & contrast

On white

3.39
#AA871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AA871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA871B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA871B#FFFFFF#000000##000000
##AA871B1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#B97A73
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #aa871b;
/* rgb */ color: rgb(170, 135, 27);
/* oklch */ color: oklch(63.9% 0.123 88.9);
Tailwind
colors: {
  custom: {
    50: '#c8a963',
    500: '#aa871b',
    950: '#000000',
  },
}
SCSS
$custom: #aa871b;
$custom-light: #c8a963;
$custom-dark: #000000;
JSON
{
  "hex": "#aa871b",
  "rgb": {
    "r": 170,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 45.315,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63913,
    "c": 0.123,
    "h": 88.9
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#AA871B
secondary
#5874C9
accent
#65EF39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A

Preview Lab

Preview with #AA871B

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

Preview Lab → · Contrast checker → · Palette generator →

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