#AB731C#AB731C

#AB731C is a mid, moderate orange. Relative luminance 0.210; OKLCH L 60.0% C 0.119 H 72.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB731C
RGBrgb(171, 115, 28)
HSLhsl(37, 72%, 39%)
HSVhsv(37, 84%, 67%)
CMYKcmyk(0%, 32.7%, 83.6%, 32.9%)
CIE-LABlab(52.96, 14.97, 52.77)
CIE-LCHlch(52.96, 54.85, 74.16°)
OKLaboklab(59.99% 0.036 0.113)
OKLCHoklch(59.99% 0.119 72.3)
XYZxyz(23.1367, 21.0054, 3.9343)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB731C #1C54AB
analogous
#AB2B1C #AB731C #9CAB1C
triadic
#AB731C #1CAB73 #731CAB
tetradic
#AB731C #1CAB2B #1C54AB #AB1C9C
square
#AB731C #1CAB2B #1C54AB #AB1C9C
split-complementary
#AB731C #1C9CAB #2B1CAB
monochromatic
#422C0B #765013 #AB731C #DC9628 #E4AF5D

Accessibility & contrast

On white

4.04
#AB731C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#AB731C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB731C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB731C#FFFFFF#000000##000000
##AB731C1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867608
Deuteranopia (green-blind)
#94841F
Tritanopia (blue-blind)
#BB6563
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab731c;
/* rgb */ color: rgb(171, 115, 28);
/* oklch */ color: oklch(60.0% 0.119 72.3);
Tailwind
colors: {
  custom: {
    50: '#ca9b61',
    500: '#ab731c',
    950: '#000000',
  },
}
SCSS
$custom: #ab731c;
$custom-light: #ca9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#ab731c",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 36.503,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.11862,
    "h": 72.3
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#AB731C
secondary
#5A85C9
accent
#80EF39
background
#FDF9F6
surface
#FAF2EB
border
#D3CCC6
text
#140E05
muted
#837E7A

Preview Lab

Preview with #AB731C

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

Preview Lab → · Contrast checker → · Palette generator →

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