#AB7931#AB7931

#AB7931 is a mid, moderate orange. Relative luminance 0.226; OKLCH L 61.3% C 0.107 H 73.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AB7931
RGBrgb(171, 121, 49)
HSLhsl(35, 55%, 43%)
HSVhsv(35, 71%, 67%)
CMYKcmyk(0%, 29.2%, 71.3%, 32.9%)
CIE-LABlab(54.61, 12.49, 45.70)
CIE-LCHlch(54.61, 47.38, 74.72°)
OKLaboklab(61.33% 0.0314 0.1027)
OKLCHoklch(61.33% 0.107 73)
XYZxyz(24.1880, 22.5564, 5.9850)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7931 #3163AB
analogous
#AB3C31 #AB7931 #A0AB31
triadic
#AB7931 #31AB79 #7931AB
tetradic
#AB7931 #31AB3C #3163AB #AB31A0
square
#AB7931 #31AB3C #3163AB #AB31A0
split-complementary
#AB7931 #31A0AB #3C31AB
monochromatic
#4C3616 #7B5723 #AB7931 #CC984D #DAB47D

Accessibility & contrast

On white

3.81
#AB7931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AB7931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7931
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7931#FFFFFF#000000##000000
##AB79311.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C28
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#BA6C6A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7931;
/* rgb */ color: rgb(171, 121, 49);
/* oklch */ color: oklch(61.3% 0.107 73.0);
Tailwind
colors: {
  custom: {
    50: '#c89f6d',
    500: '#ab7931',
    950: '#000000',
  },
}
SCSS
$custom: #ab7931;
$custom-light: #c89f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7931",
  "rgb": {
    "r": 171,
    "g": 121,
    "b": 49
  },
  "hsl": {
    "h": 35.41,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.10735,
    "h": 73
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#AB7931
secondary
#7595C2
accent
#86DF49
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7931

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

Preview Lab → · Contrast checker → · Palette generator →

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