#AA9342#AA9342

#AA9342 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.8% C 0.104 H 93.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#AA9342
RGBrgb(170, 147, 66)
HSLhsl(47, 44%, 46%)
HSVhsv(47, 61%, 67%)
CMYKcmyk(0%, 13.5%, 61.2%, 33.3%)
CIE-LABlab(61.49, -1.33, 45.11)
CIE-LCHlch(61.49, 45.13, 91.68°)
OKLaboklab(66.76% -0.0064 0.1041)
OKLCHoklch(66.76% 0.104 93.5)
XYZxyz(27.9959, 29.8082, 9.4321)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9342 #4259AA
analogous
#AA5F42 #AA9342 #8DAA42
triadic
#AA9342 #42AA93 #9342AA
tetradic
#AA9342 #42AA5F #4259AA #AA428D
square
#AA9342 #42AA5F #4259AA #AA428D
split-complementary
#AA9342 #428DAA #5F42AA
monochromatic
#524720 #7E6D31 #AA9342 #C3AF66 #D5C692

Accessibility & contrast

On white

3.02
#AA9342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#AA9342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA9342
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9342#FFFFFF#000000##000000
##AA93421.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903A
Deuteranopia (green-blind)
#A79746
Tritanopia (blue-blind)
#B78881
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #aa9342;
/* rgb */ color: rgb(170, 147, 66);
/* oklch */ color: oklch(66.8% 0.104 93.5);
Tailwind
colors: {
  custom: {
    50: '#c6b279',
    500: '#aa9342',
    950: '#000000',
  },
}
SCSS
$custom: #aa9342;
$custom-light: #c6b279;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9342",
  "rgb": {
    "r": 170,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 46.731,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66761,
    "c": 0.10433,
    "h": 93.5
  },
  "luminance": 0.29807
}

Semantic roles & 50–950 ramp

primary
#AA9342
secondary
#8894C0
accent
#70D454
background
#FCFAF7
surface
#F8F5EE
border
#D1CFC9
text
#131009
muted
#827F7B

Preview Lab

Preview with #AA9342

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

Preview Lab → · Contrast checker → · Palette generator →

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