#AB5938#AB5938

#AB5938 is a mid, moderate orange. Relative luminance 0.161; OKLCH L 55.5% C 0.117 H 41.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB5938
RGBrgb(171, 89, 56)
HSLhsl(17, 51%, 45%)
HSVhsv(17, 67%, 67%)
CMYKcmyk(0%, 48%, 67.3%, 32.9%)
CIE-LABlab(47.09, 30.71, 33.81)
CIE-LCHlch(47.09, 45.67, 47.74°)
OKLaboklab(55.54% 0.0871 0.0783)
OKLCHoklch(55.54% 0.117 41.9)
XYZxyz(21.0826, 16.0906, 5.7362)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5938 #388AAB
analogous
#AB3851 #AB5938 #AB9338
triadic
#AB5938 #38AB59 #5938AB
tetradic
#AB5938 #51AB38 #388AAB #9338AB
square
#AB5938 #51AB38 #388AAB #9338AB
split-complementary
#AB5938 #38AB93 #3851AB
monochromatic
#4F291A #7D4129 #AB5938 #C87858 #D79D86

Accessibility & contrast

On white

4.98
#AB5938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB5938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5938
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5938#FFFFFF#000000##FFFFFF
##AB59381.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6535
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#BB4951
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab5938;
/* rgb */ color: rgb(171, 89, 56);
/* oklch */ color: oklch(55.5% 0.117 41.9);
Tailwind
colors: {
  custom: {
    50: '#c9896f',
    500: '#ab5938',
    950: '#000000',
  },
}
SCSS
$custom: #ab5938;
$custom-light: #c9896f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5938",
  "rgb": {
    "r": 171,
    "g": 89,
    "b": 56
  },
  "hsl": {
    "h": 17.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.11714,
    "h": 41.9
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#AB5938
secondary
#7DAEC1
accent
#B2DA4E
background
#FDF8F6
surface
#FAF0EC
border
#D3CBC7
text
#140C07
muted
#837D7A

Preview Lab

Preview with #AB5938

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

Preview Lab → · Contrast checker → · Palette generator →

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