#AA9F31#AA9F31

#AA9F31 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.128 H 103.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#AA9F31
RGBrgb(170, 159, 49)
HSLhsl(55, 55%, 43%)
HSVhsv(55, 71%, 67%)
CMYKcmyk(0%, 6.5%, 71.2%, 33.3%)
CIE-LABlab(64.62, -8.83, 55.83)
CIE-LCHlch(64.62, 56.52, 98.99°)
OKLaboklab(69.19% -0.0299 0.1241)
OKLCHoklch(69.19% 0.128 103.5)
XYZxyz(29.5313, 33.5653, 7.8283)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9F31 #313CAA
analogous
#AA6231 #AA9F31 #79AA31
triadic
#AA9F31 #31AA9F #9F31AA
tetradic
#AA9F31 #31AA62 #313CAA #AA3179
square
#AA9F31 #31AA62 #313CAA #AA3179
split-complementary
#AA9F31 #3179AA #6231AA
monochromatic
#4B4616 #7A7323 #AA9F31 #CCC04D #D9D17C

Accessibility & contrast

On white

2.72
#AA9F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#AA9F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9F31
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9F31#FFFFFF#000000##000000
##AA9F311.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#B79489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa9f31;
/* rgb */ color: rgb(170, 159, 49);
/* oklch */ color: oklch(69.2% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#c7bb70',
    500: '#aa9f31',
    950: '#000000',
  },
}
SCSS
$custom: #aa9f31;
$custom-light: #c7bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9f31",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 54.545,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69194,
    "c": 0.12768,
    "h": 103.5
  },
  "luminance": 0.33564
}

Semantic roles & 50–950 ramp

primary
#AA9F31
secondary
#757CC2
accent
#57DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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