#AB7D31#AB7D31

#AB7D31 is a light, moderate orange. Relative luminance 0.235; OKLCH L 62.1% C 0.108 H 76.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AB7D31
RGBrgb(171, 125, 49)
HSLhsl(37, 55%, 43%)
HSVhsv(37, 71%, 67%)
CMYKcmyk(0%, 26.9%, 71.3%, 32.9%)
CIE-LABlab(55.63, 10.24, 46.77)
CIE-LCHlch(55.63, 47.88, 77.65°)
OKLaboklab(62.13% 0.0248 0.1049)
OKLCHoklch(62.13% 0.108 76.7)
XYZxyz(24.6842, 23.5488, 6.1504)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7D31 #315FAB
analogous
#AB4031 #AB7D31 #9CAB31
triadic
#AB7D31 #31AB7D #7D31AB
tetradic
#AB7D31 #31AB40 #315FAB #AB319C
square
#AB7D31 #31AB40 #315FAB #AB319C
split-complementary
#AB7D31 #319CAB #4031AB
monochromatic
#4C3716 #7B5A23 #AB7D31 #CC9C4D #DAB77D

Accessibility & contrast

On white

3.68
#AB7D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#AB7D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7D31
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7D31#FFFFFF#000000##000000
##AB7D311.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F28
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#BA706D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ab7d31;
/* rgb */ color: rgb(171, 125, 49);
/* oklch */ color: oklch(62.1% 0.108 76.7);
Tailwind
colors: {
  custom: {
    50: '#c8a26d',
    500: '#ab7d31',
    950: '#000000',
  },
}
SCSS
$custom: #ab7d31;
$custom-light: #c8a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7d31",
  "rgb": {
    "r": 171,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 37.377,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.10781,
    "h": 76.7
  },
  "luminance": 0.23547
}

Semantic roles & 50–950 ramp

primary
#AB7D31
secondary
#7592C2
accent
#81DF49
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140F07
muted
#827E7A

Preview Lab

Preview with #AB7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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