#AA9841#AA9841

#AA9841 is a light, moderate yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.109 H 97.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#AA9841
RGBrgb(170, 152, 65)
HSLhsl(50, 45%, 46%)
HSVhsv(50, 62%, 67%)
CMYKcmyk(0%, 10.6%, 61.8%, 33.3%)
CIE-LABlab(62.83, -4.11, 47.08)
CIE-LCHlch(62.83, 47.26, 94.99°)
OKLaboklab(67.82% -0.0146 0.1082)
OKLCHoklch(67.82% 0.109 97.7)
XYZxyz(28.7611, 31.3855, 9.5430)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9841 #4153AA
analogous
#AA6341 #AA9841 #87AA41
triadic
#AA9841 #41AA98 #9841AA
tetradic
#AA9841 #41AA63 #4153AA #AA4187
square
#AA9841 #41AA63 #4153AA #AA4187
split-complementary
#AA9841 #4187AA #6341AA
monochromatic
#51491F #7E7030 #AA9841 #C4B364 #D5C991

Accessibility & contrast

On white

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

On black

7.28
#AA9841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9841
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9841#FFFFFF#000000##000000
##AA98411.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa9841;
/* rgb */ color: rgb(170, 152, 65);
/* oklch */ color: oklch(67.8% 0.109 97.7);
Tailwind
colors: {
  custom: {
    50: '#c6b679',
    500: '#aa9841',
    950: '#000000',
  },
}
SCSS
$custom: #aa9841;
$custom-light: #c6b679;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9841",
  "rgb": {
    "r": 170,
    "g": 152,
    "b": 65
  },
  "hsl": {
    "h": 49.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6782,
    "c": 0.10919,
    "h": 97.7
  },
  "luminance": 0.31384
}

Semantic roles & 50–950 ramp

primary
#AA9841
secondary
#8791C0
accent
#6AD453
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AA9841

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

Preview Lab → · Contrast checker → · Palette generator →

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