#AA9731#AA9731

#AA9731 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.121 H 98.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#AA9731
RGBrgb(170, 151, 49)
HSLhsl(51, 55%, 43%)
HSVhsv(51, 71%, 67%)
CMYKcmyk(0%, 11.2%, 71.2%, 33.3%)
CIE-LABlab(62.43, -4.56, 53.65)
CIE-LCHlch(62.43, 53.85, 94.85°)
OKLaboklab(67.46% -0.0177 0.1196)
OKLCHoklch(67.46% 0.121 98.4)
XYZxyz(28.1999, 30.9024, 7.3845)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9731 #3144AA
analogous
#AA5B31 #AA9731 #80AA31
triadic
#AA9731 #31AA97 #9731AA
tetradic
#AA9731 #31AA5B #3144AA #AA3180
square
#AA9731 #31AA5B #3144AA #AA3180
split-complementary
#AA9731 #3180AA #5B31AA
monochromatic
#4B4316 #7A6D23 #AA9731 #CCB84D #D9CB7C

Accessibility & contrast

On white

2.92
#AA9731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#AA9731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9731
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9731#FFFFFF#000000##000000
##AA97311.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#B78C83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #aa9731;
/* rgb */ color: rgb(170, 151, 49);
/* oklch */ color: oklch(67.5% 0.121 98.4);
Tailwind
colors: {
  custom: {
    50: '#c7b570',
    500: '#aa9731',
    950: '#000000',
  },
}
SCSS
$custom: #aa9731;
$custom-light: #c7b570;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9731",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 50.579,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67455,
    "c": 0.12086,
    "h": 98.4
  },
  "luminance": 0.30901
}

Semantic roles & 50–950 ramp

primary
#AA9731
secondary
#7581C2
accent
#61DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9731

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

Preview Lab → · Contrast checker → · Palette generator →

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