#AB8A31#AB8A31

#AB8A31 is a light, moderate orange. Relative luminance 0.271; OKLCH L 64.8% C 0.112 H 88.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB8A31
RGBrgb(171, 138, 49)
HSLhsl(44, 55%, 43%)
HSVhsv(44, 71%, 67%)
CMYKcmyk(0%, 19.3%, 71.3%, 32.9%)
CIE-LABlab(59.03, 2.99, 50.26)
CIE-LCHlch(59.03, 50.35, 86.59°)
OKLaboklab(64.79% 0.0038 0.1123)
OKLCHoklch(64.79% 0.112 88.1)
XYZxyz(26.4389, 27.0583, 6.7354)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8A31 #3152AB
analogous
#AB4D31 #AB8A31 #8FAB31
triadic
#AB8A31 #31AB8A #8A31AB
tetradic
#AB8A31 #31AB4D #3152AB #AB318F
square
#AB8A31 #31AB4D #3152AB #AB318F
split-complementary
#AB8A31 #318FAB #4D31AB
monochromatic
#4C3D16 #7B6423 #AB8A31 #CCAA4D #DAC17D

Accessibility & contrast

On white

3.28
#AB8A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#AB8A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8A31
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8A31#FFFFFF#000000##000000
##AB8A311.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8925
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#B97E78
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab8a31;
/* rgb */ color: rgb(171, 138, 49);
/* oklch */ color: oklch(64.8% 0.112 88.1);
Tailwind
colors: {
  custom: {
    50: '#c8ab6e',
    500: '#ab8a31',
    950: '#000000',
  },
}
SCSS
$custom: #ab8a31;
$custom-light: #c8ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8a31",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 43.77,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.11239,
    "h": 88.1
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#AB8A31
secondary
#758AC2
accent
#72DF49
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8A31

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

Preview Lab → · Contrast checker → · Palette generator →

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