#AB542F#AB542F

#AB542F is a mid, vivid orange. Relative luminance 0.152; OKLCH L 54.6% C 0.125 H 42.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AB542F
RGBrgb(171, 84, 47)
HSLhsl(18, 57%, 43%)
HSVhsv(18, 73%, 67%)
CMYKcmyk(0%, 50.9%, 72.5%, 32.9%)
CIE-LABlab(45.92, 32.88, 37.37)
CIE-LCHlch(45.92, 49.77, 48.66°)
OKLaboklab(54.61% 0.0921 0.0844)
OKLCHoklch(54.61% 0.125 42.5)
XYZxyz(20.4799, 15.2063, 4.5454)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB542F #2F86AB
analogous
#AB2F48 #AB542F #AB922F
triadic
#AB542F #2FAB54 #542FAB
tetradic
#AB542F #48AB2F #2F86AB #922FAB
square
#AB542F #48AB2F #2F86AB #922FAB
split-complementary
#AB542F #2FAB92 #2F48AB
monochromatic
#4B2515 #7B3C22 #AB542F #CD714A #DA977A

Accessibility & contrast

On white

5.20
#AB542F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AB542F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB542F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB542F#FFFFFF#000000##FFFFFF
##AB542F1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C612B
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#BB424C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab542f;
/* rgb */ color: rgb(171, 84, 47);
/* oklch */ color: oklch(54.6% 0.125 42.5);
Tailwind
colors: {
  custom: {
    50: '#ca8669',
    500: '#ab542f',
    950: '#000000',
  },
}
SCSS
$custom: #ab542f;
$custom-light: #ca8669;
$custom-dark: #000000;
JSON
{
  "hex": "#ab542f",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 47
  },
  "hsl": {
    "h": 17.903,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.12496,
    "h": 42.5
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AB542F
secondary
#73ABC3
accent
#B3E048
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#140B06
muted
#837C7A

Preview Lab

Preview with #AB542F

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

Preview Lab → · Contrast checker → · Palette generator →

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