#AA9E31#AA9E31

#AA9E31 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 69.0% C 0.127 H 102.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AA9E31
RGBrgb(170, 158, 49)
HSLhsl(54, 55%, 43%)
HSVhsv(54, 71%, 67%)
CMYKcmyk(0%, 7.1%, 71.2%, 33.3%)
CIE-LABlab(64.34, -8.30, 55.56)
CIE-LCHlch(64.34, 56.17, 98.50°)
OKLaboklab(68.97% -0.0284 0.1236)
OKLCHoklch(68.97% 0.127 102.9)
XYZxyz(29.3601, 33.2227, 7.7712)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9E31 #313DAA
analogous
#AA6231 #AA9E31 #79AA31
triadic
#AA9E31 #31AA9E #9E31AA
tetradic
#AA9E31 #31AA62 #313DAA #AA3179
square
#AA9E31 #31AA62 #313DAA #AA3179
split-complementary
#AA9E31 #3179AA #6231AA
monochromatic
#4B4616 #7A7223 #AA9E31 #CCBF4D #D9D07C

Accessibility & contrast

On white

2.75
#AA9E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AA9E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9E31
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9E31#FFFFFF#000000##000000
##AA9E311.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#B79388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #aa9e31;
/* rgb */ color: rgb(170, 158, 49);
/* oklch */ color: oklch(69.0% 0.127 102.9);
Tailwind
colors: {
  custom: {
    50: '#c7ba70',
    500: '#aa9e31',
    950: '#000000',
  },
}
SCSS
$custom: #aa9e31;
$custom-light: #c7ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9e31",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 54.05,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68975,
    "c": 0.12678,
    "h": 102.9
  },
  "luminance": 0.33222
}

Semantic roles & 50–950 ramp

primary
#AA9E31
secondary
#757DC2
accent
#58DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9E31

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

Preview Lab → · Contrast checker → · Palette generator →

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