#AA9837#AA9837

#AA9837 is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.117 H 98.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#AA9837
RGBrgb(170, 152, 55)
HSLhsl(51, 51%, 44%)
HSVhsv(51, 68%, 67%)
CMYKcmyk(0%, 10.6%, 67.6%, 33.3%)
CIE-LABlab(62.74, -4.76, 51.48)
CIE-LCHlch(62.74, 51.70, 95.28°)
OKLaboklab(67.72% -0.0176 0.116)
OKLCHoklch(67.72% 0.117 98.6)
XYZxyz(28.4967, 31.2797, 8.1503)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9837 #3749AA
analogous
#AA5F37 #AA9837 #83AA37
triadic
#AA9837 #37AA98 #9837AA
tetradic
#AA9837 #37AA5F #3749AA #AA3783
square
#AA9837 #37AA5F #3749AA #AA3783
split-complementary
#AA9837 #3783AA #5F37AA
monochromatic
#4E4519 #7C6F28 #AA9837 #C8B656 #D7CA84

Accessibility & contrast

On white

2.89
#AA9837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#AA9837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9837
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9837#FFFFFF#000000##000000
##AA98371.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7942A
Deuteranopia (green-blind)
#AB9B3C
Tritanopia (blue-blind)
#B78D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #aa9837;
/* rgb */ color: rgb(170, 152, 55);
/* oklch */ color: oklch(67.7% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#c6b673',
    500: '#aa9837',
    950: '#000000',
  },
}
SCSS
$custom: #aa9837;
$custom-light: #c6b673;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9837",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 50.609,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67721,
    "c": 0.11733,
    "h": 98.6
  },
  "luminance": 0.31278
}

Semantic roles & 50–950 ramp

primary
#AA9837
secondary
#7C87C1
accent
#63DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #AA9837

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

Preview Lab → · Contrast checker → · Palette generator →

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