#AB7A31#AB7A31

#AB7A31 is a mid, moderate orange. Relative luminance 0.228; OKLCH L 61.5% C 0.107 H 73.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB7A31
RGBrgb(171, 122, 49)
HSLhsl(36, 55%, 43%)
HSVhsv(36, 71%, 67%)
CMYKcmyk(0%, 28.7%, 71.3%, 32.9%)
CIE-LABlab(54.87, 11.93, 45.97)
CIE-LCHlch(54.87, 47.49, 75.46°)
OKLaboklab(61.53% 0.0298 0.1032)
OKLCHoklch(61.53% 0.107 73.9)
XYZxyz(24.3101, 22.8007, 6.0258)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7A31 #3162AB
analogous
#AB3D31 #AB7A31 #9FAB31
triadic
#AB7A31 #31AB7A #7A31AB
tetradic
#AB7A31 #31AB3D #3162AB #AB319F
square
#AB7A31 #31AB3D #3162AB #AB319F
split-complementary
#AB7A31 #319FAB #3D31AB
monochromatic
#4C3616 #7B5823 #AB7A31 #CC994D #DAB47D

Accessibility & contrast

On white

3.78
#AB7A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#AB7A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7A31
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7A31#FFFFFF#000000##000000
##AB7A311.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C28
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#BA6D6B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab7a31;
/* rgb */ color: rgb(171, 122, 49);
/* oklch */ color: oklch(61.5% 0.107 73.9);
Tailwind
colors: {
  custom: {
    50: '#c8a06d',
    500: '#ab7a31',
    950: '#000000',
  },
}
SCSS
$custom: #ab7a31;
$custom-light: #c8a06d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7a31",
  "rgb": {
    "r": 171,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 35.902,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.10742,
    "h": 73.9
  },
  "luminance": 0.22799
}

Semantic roles & 50–950 ramp

primary
#AB7A31
secondary
#7594C2
accent
#85DF49
background
#FCF9F6
surface
#F9F2EC
border
#D2CCC7
text
#140E07
muted
#827E7A

Preview Lab

Preview with #AB7A31

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

Preview Lab → · Contrast checker → · Palette generator →

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