#AB6540#AB6540

#AB6540 is a mid, moderate orange. Relative luminance 0.183; OKLCH L 57.7% C 0.104 H 47.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB6540
RGBrgb(171, 101, 64)
HSLhsl(21, 46%, 46%)
HSVhsv(21, 63%, 67%)
CMYKcmyk(0%, 40.9%, 62.6%, 32.9%)
CIE-LABlab(49.90, 24.67, 32.71)
CIE-LCHlch(49.90, 40.97, 52.98°)
OKLaboklab(57.73% 0.0701 0.077)
OKLCHoklch(57.73% 0.104 47.7)
XYZxyz(22.3753, 18.3377, 7.2106)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6540 #4086AB
analogous
#AB4050 #AB6540 #AB9A40
triadic
#AB6540 #40AB65 #6540AB
tetradic
#AB6540 #50AB40 #4086AB #9A40AB
square
#AB6540 #50AB40 #4086AB #9A40AB
split-complementary
#AB6540 #40AB9A #4050AB
monochromatic
#52301F #7E4B2F #AB6540 #C58563 #D5A890

Accessibility & contrast

On white

4.50
#AB6540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB6540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6540
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6540#FFFFFF#000000##000000
##AB65401.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#786D3D
Deuteranopia (green-blind)
#897D3F
Tritanopia (blue-blind)
#BA585C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab6540;
/* rgb */ color: rgb(171, 101, 64);
/* oklch */ color: oklch(57.7% 0.104 47.7);
Tailwind
colors: {
  custom: {
    50: '#c89176',
    500: '#ab6540',
    950: '#000000',
  },
}
SCSS
$custom: #ab6540;
$custom-light: #c89176;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6540",
  "rgb": {
    "r": 171,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 20.748,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.10408,
    "h": 47.7
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#AB6540
secondary
#86ACC1
accent
#A8D553
background
#FCF8F7
surface
#F9F0ED
border
#D2CBC8
text
#140D08
muted
#827D7B

Preview Lab

Preview with #AB6540

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

Preview Lab → · Contrast checker → · Palette generator →

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