#AA9931#AA9931

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

Color values

HEX#AA9931
RGBrgb(170, 153, 49)
HSLhsl(52, 55%, 43%)
HSVhsv(52, 71%, 67%)
CMYKcmyk(0%, 10%, 71.2%, 33.3%)
CIE-LABlab(62.97, -5.63, 54.20)
CIE-LCHlch(62.97, 54.49, 95.93°)
OKLaboklab(67.89% -0.0208 0.1207)
OKLCHoklch(67.89% 0.122 99.8)
XYZxyz(28.5245, 31.5516, 7.4927)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9931 #3142AA
analogous
#AA5C31 #AA9931 #7EAA31
triadic
#AA9931 #31AA99 #9931AA
tetradic
#AA9931 #31AA5C #3142AA #AA317E
square
#AA9931 #31AA5C #3142AA #AA317E
split-complementary
#AA9931 #317EAA #5C31AA
monochromatic
#4B4316 #7A6E23 #AA9931 #CCBA4D #D9CC7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9931#FFFFFF#000000##000000
##AA99311.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)
#A89521
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#B78E84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9931;
/* rgb */ color: rgb(170, 153, 49);
/* oklch */ color: oklch(67.9% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#c7b670',
    500: '#aa9931',
    950: '#000000',
  },
}
SCSS
$custom: #aa9931;
$custom-light: #c7b670;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9931",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 51.57,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.12248,
    "h": 99.8
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#AA9931
secondary
#7580C2
accent
#5EDF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9931

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

Preview Lab → · Contrast checker → · Palette generator →

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