#AA9D31#AA9D31

#AA9D31 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.8% C 0.126 H 102.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AA9D31
RGBrgb(170, 157, 49)
HSLhsl(54, 55%, 43%)
HSVhsv(54, 71%, 67%)
CMYKcmyk(0%, 7.6%, 71.2%, 33.3%)
CIE-LABlab(64.07, -7.77, 55.29)
CIE-LCHlch(64.07, 55.83, 98.00°)
OKLaboklab(68.76% -0.0269 0.123)
OKLCHoklch(68.76% 0.126 102.3)
XYZxyz(29.1902, 32.8830, 7.7146)
Luminance0.3288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9D31 #313EAA
analogous
#AA6131 #AA9D31 #7AAA31
triadic
#AA9D31 #31AA9D #9D31AA
tetradic
#AA9D31 #31AA61 #313EAA #AA317A
square
#AA9D31 #31AA61 #313EAA #AA317A
split-complementary
#AA9D31 #317AAA #6131AA
monochromatic
#4B4516 #7A7123 #AA9D31 #CCBE4D #D9CF7C

Accessibility & contrast

On white

2.77
#AA9D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AA9D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9D31
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9D31#FFFFFF#000000##000000
##AA9D311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9820
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#B79288
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa9d31;
/* rgb */ color: rgb(170, 157, 49);
/* oklch */ color: oklch(68.8% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#c7b970',
    500: '#aa9d31',
    950: '#000000',
  },
}
SCSS
$custom: #aa9d31;
$custom-light: #c7b970;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9d31",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 53.554,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68757,
    "c": 0.12589,
    "h": 102.3
  },
  "luminance": 0.32882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9D31

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

Preview Lab → · Contrast checker → · Palette generator →

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