#AB8342#AB8342

#AB8342 is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.5% C 0.096 H 77.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB8342
RGBrgb(171, 131, 66)
HSLhsl(37, 44%, 46%)
HSVhsv(37, 61%, 67%)
CMYKcmyk(0%, 23.4%, 61.4%, 32.9%)
CIE-LABlab(57.35, 7.97, 40.43)
CIE-LCHlch(57.35, 41.20, 78.85°)
OKLaboklab(63.53% 0.0205 0.094)
OKLCHoklch(63.53% 0.096 77.7)
XYZxyz(25.8957, 25.2856, 8.6699)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8342 #426AAB
analogous
#AB4F42 #AB8342 #9FAB42
triadic
#AB8342 #42AB83 #8342AB
tetradic
#AB8342 #42AB4F #426AAB #AB429F
square
#AB8342 #42AB4F #426AAB #AB429F
split-complementary
#AB8342 #429FAB #4F42AB
monochromatic
#533F20 #7F6131 #AB8342 #C4A066 #D5BC92

Accessibility & contrast

On white

3.47
#AB8342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AB8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8342
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8342#FFFFFF#000000##000000
##AB83421.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843C
Deuteranopia (green-blind)
#9C8E44
Tritanopia (blue-blind)
#B97874
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab8342;
/* rgb */ color: rgb(171, 131, 66);
/* oklch */ color: oklch(63.5% 0.096 77.7);
Tailwind
colors: {
  custom: {
    50: '#c7a678',
    500: '#ab8342',
    950: '#000000',
  },
}
SCSS
$custom: #ab8342;
$custom-light: #c7a678;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8342",
  "rgb": {
    "r": 171,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 37.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.6353,
    "c": 0.09626,
    "h": 77.7
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#AB8342
secondary
#889EC0
accent
#85D454
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#130F09
muted
#827F7B

Preview Lab

Preview with #AB8342

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

Preview Lab → · Contrast checker → · Palette generator →

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