#AA9B2A#AA9B2A

#AA9B2A is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.3% C 0.129 H 101.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#AA9B2A
RGBrgb(170, 155, 42)
HSLhsl(53, 60%, 42%)
HSVhsv(53, 75%, 67%)
CMYKcmyk(0%, 8.8%, 75.3%, 33.3%)
CIE-LABlab(63.47, -7.04, 57.35)
CIE-LCHlch(63.47, 57.78, 97.00°)
OKLaboklab(68.27% -0.0255 0.126)
OKLCHoklch(68.27% 0.129 101.5)
XYZxyz(28.7182, 32.1572, 6.8843)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9B2A #2A39AA
analogous
#AA5B2A #AA9B2A #79AA2A
triadic
#AA9B2A #2AAA9B #9B2AAA
tetradic
#AA9B2A #2AAA5B #2A39AA #AA2A79
square
#AA9B2A #2AAA5B #2A39AA #AA2A79
split-complementary
#AA9B2A #2A79AA #5B2AAA
monochromatic
#484212 #796E1E #AA9B2A #D0BF41 #DCD072

Accessibility & contrast

On white

2.83
#AA9B2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#AA9B2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9B2A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9B2A#FFFFFF#000000##000000
##AA9B2A1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9614
Deuteranopia (green-blind)
#AE9C32
Tritanopia (blue-blind)
#B79085
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #aa9b2a;
/* rgb */ color: rgb(170, 155, 42);
/* oklch */ color: oklch(68.3% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#c7b86c',
    500: '#aa9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #aa9b2a;
$custom-light: #c7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9b2a",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 52.969,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68271,
    "c": 0.12859,
    "h": 101.5
  },
  "luminance": 0.32156
}

Semantic roles & 50–950 ramp

primary
#AA9B2A
secondary
#6C77C3
accent
#57E444
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AA9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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