#AB7540#AB7540

#AB7540 is a mid, moderate orange. Relative luminance 0.218; OKLCH L 60.7% C 0.097 H 63.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB7540
RGBrgb(171, 117, 64)
HSLhsl(30, 46%, 46%)
HSVhsv(30, 63%, 67%)
CMYKcmyk(0%, 31.6%, 62.6%, 32.9%)
CIE-LABlab(53.76, 15.69, 37.29)
CIE-LCHlch(53.76, 40.46, 67.18°)
OKLaboklab(60.72% 0.0431 0.087)
OKLCHoklch(60.72% 0.097 63.7)
XYZxyz(24.0828, 21.7527, 7.7798)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7540 #4076AB
analogous
#AB4040 #AB7540 #ABAA40
triadic
#AB7540 #40AB75 #7540AB
tetradic
#AB7540 #40AB40 #4076AB #AA40AB
square
#AB7540 #40AB40 #4076AB #AA40AB
split-complementary
#AB7540 #40ABAA #4040AB
monochromatic
#52381F #7E572F #AB7540 #C59463 #D5B290

Accessibility & contrast

On white

3.93
#AB7540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB7540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7540
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7540#FFFFFF#000000##000000
##AB75401.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#938541
Tritanopia (blue-blind)
#BA6969
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab7540;
/* rgb */ color: rgb(171, 117, 64);
/* oklch */ color: oklch(60.7% 0.097 63.7);
Tailwind
colors: {
  custom: {
    50: '#c89c76',
    500: '#ab7540',
    950: '#000000',
  },
}
SCSS
$custom: #ab7540;
$custom-light: #c89c76;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7540",
  "rgb": {
    "r": 171,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 29.72,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.09707,
    "h": 63.7
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#AB7540
secondary
#86A4C1
accent
#95D553
background
#FCF9F7
surface
#F9F2ED
border
#D2CCC8
text
#140E08
muted
#827E7B

Preview Lab

Preview with #AB7540

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

Preview Lab → · Contrast checker → · Palette generator →

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