#AA9831#AA9831

#AA9831 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.122 H 99.1°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#AA9831
RGBrgb(170, 152, 49)
HSLhsl(51, 55%, 43%)
HSVhsv(51, 71%, 67%)
CMYKcmyk(0%, 10.6%, 71.2%, 33.3%)
CIE-LABlab(62.70, -5.10, 53.93)
CIE-LCHlch(62.70, 54.17, 95.40°)
OKLaboklab(67.67% -0.0193 0.1201)
OKLCHoklch(67.67% 0.122 99.1)
XYZxyz(28.3615, 31.2256, 7.4384)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9831 #3143AA
analogous
#AA5B31 #AA9831 #80AA31
triadic
#AA9831 #31AA98 #9831AA
tetradic
#AA9831 #31AA5B #3143AA #AA3180
square
#AA9831 #31AA5B #3143AA #AA3180
split-complementary
#AA9831 #3180AA #5B31AA
monochromatic
#4B4316 #7A6E23 #AA9831 #CCB94D #D9CB7C

Accessibility & contrast

On white

2.90
#AA9831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#AA9831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9831
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9831#FFFFFF#000000##000000
##AA98311.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79422
Deuteranopia (green-blind)
#AC9A37
Tritanopia (blue-blind)
#B78D83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9831;
/* rgb */ color: rgb(170, 152, 49);
/* oklch */ color: oklch(67.7% 0.122 99.1);
Tailwind
colors: {
  custom: {
    50: '#c7b670',
    500: '#aa9831',
    950: '#000000',
  },
}
SCSS
$custom: #aa9831;
$custom-light: #c7b670;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9831",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 51.074,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.12166,
    "h": 99.1
  },
  "luminance": 0.31224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA9831

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

Preview Lab → · Contrast checker → · Palette generator →

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