#AA9937#AA9937

#AA9937 is a light, moderate yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.118 H 99.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AA9937
RGBrgb(170, 153, 55)
HSLhsl(51, 51%, 44%)
HSVhsv(51, 68%, 67%)
CMYKcmyk(0%, 10%, 67.6%, 33.3%)
CIE-LABlab(63.02, -5.30, 51.76)
CIE-LCHlch(63.02, 52.03, 95.85°)
OKLaboklab(67.94% -0.0192 0.1166)
OKLCHoklch(67.94% 0.118 99.3)
XYZxyz(28.6597, 31.6057, 8.2046)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9937 #3748AA
analogous
#AA5F37 #AA9937 #82AA37
triadic
#AA9937 #37AA99 #9937AA
tetradic
#AA9937 #37AA5F #3748AA #AA3782
square
#AA9937 #37AA5F #3748AA #AA3782
split-complementary
#AA9937 #3782AA #5F37AA
monochromatic
#4E4619 #7C6F28 #AA9937 #C8B756 #D7CB84

Accessibility & contrast

On white

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

On black

7.32
#AA9937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9937
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9937#FFFFFF#000000##000000
##AA99371.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7952A
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#B78E85
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9937;
/* rgb */ color: rgb(170, 153, 55);
/* oklch */ color: oklch(67.9% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#c6b673',
    500: '#aa9937',
    950: '#000000',
  },
}
SCSS
$custom: #aa9937;
$custom-light: #c6b673;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9937",
  "rgb": {
    "r": 170,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 51.13,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.11817,
    "h": 99.3
  },
  "luminance": 0.31604
}

Semantic roles & 50–950 ramp

primary
#AA9937
secondary
#7C86C1
accent
#62DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9937

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

Preview Lab → · Contrast checker → · Palette generator →

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