#AB7940#AB7940

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

Color values

HEX#AB7940
RGBrgb(171, 121, 64)
HSLhsl(32, 46%, 46%)
HSVhsv(32, 63%, 67%)
CMYKcmyk(0%, 29.2%, 62.6%, 32.9%)
CIE-LABlab(54.77, 13.43, 38.46)
CIE-LCHlch(54.77, 40.74, 70.75°)
OKLaboklab(61.5% 0.0364 0.0895)
OKLCHoklch(61.5% 0.097 67.9)
XYZxyz(24.5589, 22.7048, 7.9385)
Luminance0.2270 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7940 #4072AB
analogous
#AB4340 #AB7940 #A7AB40
triadic
#AB7940 #40AB79 #7940AB
tetradic
#AB7940 #40AB43 #4072AB #AB40A7
square
#AB7940 #40AB43 #4072AB #AB40A7
split-complementary
#AB7940 #40A7AB #4340AB
monochromatic
#523A1F #7E592F #AB7940 #C59763 #D5B590

Accessibility & contrast

On white

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

On black

5.54
#AB7940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7940
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7940#FFFFFF#000000##000000
##AB79401.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3B
Deuteranopia (green-blind)
#958841
Tritanopia (blue-blind)
#B96D6C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7940;
/* rgb */ color: rgb(171, 121, 64);
/* oklch */ color: oklch(61.5% 0.097 67.9);
Tailwind
colors: {
  custom: {
    50: '#c79f77',
    500: '#ab7940',
    950: '#000000',
  },
}
SCSS
$custom: #ab7940;
$custom-light: #c79f77;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7940",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 31.963,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.09664,
    "h": 67.9
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#AB7940
secondary
#86A1C1
accent
#90D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E09
muted
#827E7B

Preview Lab

Preview with #AB7940

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

Preview Lab → · Contrast checker → · Palette generator →

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