#AB7831#AB7831

#AB7831 is a mid, moderate orange. Relative luminance 0.223; OKLCH L 61.1% C 0.107 H 72.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB7831
RGBrgb(171, 120, 49)
HSLhsl(35, 55%, 43%)
HSVhsv(35, 71%, 67%)
CMYKcmyk(0%, 29.8%, 71.3%, 32.9%)
CIE-LABlab(54.36, 13.05, 45.44)
CIE-LCHlch(54.36, 47.27, 73.97°)
OKLaboklab(61.13% 0.0331 0.1021)
OKLCHoklch(61.13% 0.107 72)
XYZxyz(24.0671, 22.3146, 5.9447)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7831 #3164AB
analogous
#AB3B31 #AB7831 #A1AB31
triadic
#AB7831 #31AB78 #7831AB
tetradic
#AB7831 #31AB3B #3164AB #AB31A1
square
#AB7831 #31AB3B #3164AB #AB31A1
split-complementary
#AB7831 #31A1AB #3B31AB
monochromatic
#4C3516 #7B5723 #AB7831 #CC974D #DAB37D

Accessibility & contrast

On white

3.84
#AB7831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#AB7831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7831
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7831#FFFFFF#000000##000000
##AB78311.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#BA6B69
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab7831;
/* rgb */ color: rgb(171, 120, 49);
/* oklch */ color: oklch(61.1% 0.107 72.0);
Tailwind
colors: {
  custom: {
    50: '#c89e6d',
    500: '#ab7831',
    950: '#000000',
  },
}
SCSS
$custom: #ab7831;
$custom-light: #c89e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7831",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 49
  },
  "hsl": {
    "h": 34.918,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61134,
    "c": 0.1073,
    "h": 72
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#AB7831
secondary
#7596C2
accent
#88DF49
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7831

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

Preview Lab → · Contrast checker → · Palette generator →

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