#AA9932#AA9932

#AA9932 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.122 H 99.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AA9932
RGBrgb(170, 153, 50)
HSLhsl(52, 55%, 43%)
HSVhsv(52, 71%, 67%)
CMYKcmyk(0%, 10%, 70.6%, 33.3%)
CIE-LABlab(62.98, -5.58, 53.80)
CIE-LCHlch(62.98, 54.09, 95.92°)
OKLaboklab(67.9% -0.0205 0.12)
OKLCHoklch(67.9% 0.122 99.7)
XYZxyz(28.5458, 31.5601, 7.6051)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9932 #3243AA
analogous
#AA5D32 #AA9932 #7FAA32
triadic
#AA9932 #32AA99 #9932AA
tetradic
#AA9932 #32AA5D #3243AA #AA327F
square
#AA9932 #32AA5D #3243AA #AA327F
split-complementary
#AA9932 #327FAA #5D32AA
monochromatic
#4B4416 #7B6E24 #AA9932 #CBB94E #D9CC7D

Accessibility & contrast

On white

2.87
#AA9932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#AA9932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9932
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9932#FFFFFF#000000##000000
##AA99321.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#B78E84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9932;
/* rgb */ color: rgb(170, 153, 50);
/* oklch */ color: oklch(67.9% 0.122 99.7);
Tailwind
colors: {
  custom: {
    50: '#c7b670',
    500: '#aa9932',
    950: '#000000',
  },
}
SCSS
$custom: #aa9932;
$custom-light: #c7b670;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9932",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 50
  },
  "hsl": {
    "h": 51.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67895,
    "c": 0.12179,
    "h": 99.7
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#AA9932
secondary
#7681C2
accent
#5FDE4A
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9932

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

Preview Lab → · Contrast checker → · Palette generator →

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