#AB7942#AB7942

#AB7942 is a mid, moderate orange. Relative luminance 0.227; OKLCH L 61.5% C 0.095 H 67.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AB7942
RGBrgb(171, 121, 66)
HSLhsl(31, 44%, 46%)
HSVhsv(31, 61%, 67%)
CMYKcmyk(0%, 29.2%, 61.4%, 32.9%)
CIE-LABlab(54.79, 13.58, 37.44)
CIE-LCHlch(54.79, 39.83, 70.07°)
OKLaboklab(61.53% 0.0371 0.0876)
OKLCHoklch(61.53% 0.095 67)
XYZxyz(24.6168, 22.7279, 8.2436)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7942 #4274AB
analogous
#AB4542 #AB7942 #A9AB42
triadic
#AB7942 #42AB79 #7942AB
tetradic
#AB7942 #42AB45 #4274AB #AB42A9
square
#AB7942 #42AB45 #4274AB #AB42A9
split-complementary
#AB7942 #42A9AB #4542AB
monochromatic
#533B20 #7F5A31 #AB7942 #C49766 #D5B592

Accessibility & contrast

On white

3.79
#AB7942 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#AB7942 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7942
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7942#FFFFFF#000000##000000
##AB79421.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab7942;
/* rgb */ color: rgb(171, 121, 66);
/* oklch */ color: oklch(61.5% 0.095 67.0);
Tailwind
colors: {
  custom: {
    50: '#c79f78',
    500: '#ab7942',
    950: '#000000',
  },
}
SCSS
$custom: #ab7942;
$custom-light: #c79f78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7942",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 31.429,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.09512,
    "h": 67
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#AB7942
secondary
#88A3C0
accent
#91D454
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AB7942

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

Preview Lab → · Contrast checker → · Palette generator →

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