#AB8731#AB8731

#AB8731 is a light, moderate orange. Relative luminance 0.262; OKLCH L 64.2% C 0.111 H 85.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB8731
RGBrgb(171, 135, 49)
HSLhsl(42, 55%, 43%)
HSVhsv(42, 71%, 67%)
CMYKcmyk(0%, 21.1%, 71.3%, 32.9%)
CIE-LABlab(58.24, 4.66, 49.45)
CIE-LCHlch(58.24, 49.67, 84.62°)
OKLaboklab(64.17% 0.0086 0.1106)
OKLCHoklch(64.17% 0.111 85.5)
XYZxyz(26.0145, 26.2094, 6.5939)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8731 #3155AB
analogous
#AB4A31 #AB8731 #92AB31
triadic
#AB8731 #31AB87 #8731AB
tetradic
#AB8731 #31AB4A #3155AB #AB3192
square
#AB8731 #31AB4A #3155AB #AB3192
split-complementary
#AB8731 #3192AB #4A31AB
monochromatic
#4C3C16 #7B6123 #AB8731 #CCA74D #DABE7D

Accessibility & contrast

On white

3.36
#AB8731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#AB8731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8731
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8731#FFFFFF#000000##000000
##AB87311.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978626
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#B97B75
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab8731;
/* rgb */ color: rgb(171, 135, 49);
/* oklch */ color: oklch(64.2% 0.111 85.5);
Tailwind
colors: {
  custom: {
    50: '#c8a96e',
    500: '#ab8731',
    950: '#000000',
  },
}
SCSS
$custom: #ab8731;
$custom-light: #c8a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8731",
  "rgb": {
    "r": 171,
    "g": 135,
    "b": 49
  },
  "hsl": {
    "h": 42.295,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6417,
    "c": 0.11094,
    "h": 85.5
  },
  "luminance": 0.26208
}

Semantic roles & 50–950 ramp

primary
#AB8731
secondary
#758CC2
accent
#75DF49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB8731

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

Preview Lab → · Contrast checker → · Palette generator →

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