#AA7942#AA7942

#AA7942 is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.4% C 0.094 H 67.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA7942
RGBrgb(170, 121, 66)
HSLhsl(32, 44%, 46%)
HSVhsv(32, 61%, 67%)
CMYKcmyk(0%, 28.8%, 61.2%, 33.3%)
CIE-LABlab(54.67, 13.14, 37.28)
CIE-LCHlch(54.67, 39.53, 70.58°)
OKLaboklab(61.41% 0.0359 0.0872)
OKLCHoklch(61.41% 0.094 67.6)
XYZxyz(24.3998, 22.6160, 8.2334)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA7942 #4273AA
analogous
#AA4542 #AA7942 #A7AA42
triadic
#AA7942 #42AA79 #7942AA
tetradic
#AA7942 #42AA45 #4273AA #AA42A7
square
#AA7942 #42AA45 #4273AA #AA42A7
split-complementary
#AA7942 #42A7AA #4542AA
monochromatic
#523A20 #7E5A31 #AA7942 #C39766 #D5B592

Accessibility & contrast

On white

3.80
#AA7942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AA7942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA7942
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA7942#FFFFFF#000000##000000
##AA79421.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3D
Deuteranopia (green-blind)
#958743
Tritanopia (blue-blind)
#B86E6C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #aa7942;
/* rgb */ color: rgb(170, 121, 66);
/* oklch */ color: oklch(61.4% 0.094 67.6);
Tailwind
colors: {
  custom: {
    50: '#c79f78',
    500: '#aa7942',
    950: '#000000',
  },
}
SCSS
$custom: #aa7942;
$custom-light: #c79f78;
$custom-dark: #000000;
JSON
{
  "hex": "#aa7942",
  "rgb": {
    "r": 170,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 31.731,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.61412,
    "c": 0.09433,
    "h": 67.6
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#AA7942
secondary
#88A2C0
accent
#90D454
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#130E09
muted
#827E7B

Preview Lab

Preview with #AA7942

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

Preview Lab → · Contrast checker → · Palette generator →

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