#AA8E2B#AA8E2B

#AA8E2B is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.5% C 0.118 H 92.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AA8E2B
RGBrgb(170, 142, 43)
HSLhsl(47, 60%, 42%)
HSVhsv(47, 75%, 67%)
CMYKcmyk(0%, 16.5%, 74.7%, 33.3%)
CIE-LABlab(59.95, 0.04, 53.61)
CIE-LCHlch(59.95, 53.61, 89.95°)
OKLaboklab(65.48% -0.0053 0.1183)
OKLCHoklch(65.48% 0.118 92.6)
XYZxyz(26.6881, 28.0680, 6.2970)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8E2B #2B47AA
analogous
#AA4F2B #AA8E2B #87AA2B
triadic
#AA8E2B #2BAA8E #8E2BAA
tetradic
#AA8E2B #2BAA4F #2B47AA #AA2B87
square
#AA8E2B #2BAA4F #2B47AA #AA2B87
split-complementary
#AA8E2B #2B87AA #4F2BAA
monochromatic
#483C12 #79651F #AA8E2B #CFB043 #DCC574

Accessibility & contrast

On white

3.18
#AA8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AA8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA8E2B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8E2B#FFFFFF#000000##000000
##AA8E2B1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#B8827A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #aa8e2b;
/* rgb */ color: rgb(170, 142, 43);
/* oklch */ color: oklch(65.5% 0.118 92.6);
Tailwind
colors: {
  custom: {
    50: '#c7ae6b',
    500: '#aa8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #aa8e2b;
$custom-light: #c7ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8e2b",
  "rgb": {
    "r": 170,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 46.772,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65484,
    "c": 0.11841,
    "h": 92.6
  },
  "luminance": 0.28066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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