#AB5F31#AB5F31

#AB5F31 is a mid, moderate orange. Relative luminance 0.171; OKLCH L 56.5% C 0.116 H 49.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB5F31
RGBrgb(171, 95, 49)
HSLhsl(23, 55%, 43%)
HSVhsv(23, 71%, 67%)
CMYKcmyk(0%, 44.4%, 71.3%, 32.9%)
CIE-LABlab(48.34, 27.04, 38.98)
CIE-LCHlch(48.34, 47.44, 55.26°)
OKLaboklab(56.47% 0.0747 0.0883)
OKLCHoklch(56.47% 0.116 49.8)
XYZxyz(21.4430, 17.0664, 5.0700)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5F31 #317DAB
analogous
#AB3140 #AB5F31 #AB9C31
triadic
#AB5F31 #31AB5F #5F31AB
tetradic
#AB5F31 #40AB31 #317DAB #9C31AB
square
#AB5F31 #40AB31 #317DAB #9C31AB
split-complementary
#AB5F31 #31AB9C #3140AB
monochromatic
#4C2A16 #7B4523 #AB5F31 #CC7D4D #DAA07D

Accessibility & contrast

On white

4.76
#AB5F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB5F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5F31
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5F31#FFFFFF#000000##FFFFFF
##AB5F311.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#877930
Tritanopia (blue-blind)
#BB4F55
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5f31;
/* rgb */ color: rgb(171, 95, 49);
/* oklch */ color: oklch(56.5% 0.116 49.8);
Tailwind
colors: {
  custom: {
    50: '#c98d6b',
    500: '#ab5f31',
    950: '#000000',
  },
}
SCSS
$custom: #ab5f31;
$custom-light: #c98d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5f31",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 49
  },
  "hsl": {
    "h": 22.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.11568,
    "h": 49.8
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#AB5F31
secondary
#75A5C2
accent
#A6DF49
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#140C07
muted
#837D7A

Preview Lab

Preview with #AB5F31

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

Preview Lab → · Contrast checker → · Palette generator →

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