#AB842C#AB842C

#AB842C is a light, moderate orange. Relative luminance 0.253; OKLCH L 63.5% C 0.113 H 83.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB842C
RGBrgb(171, 132, 44)
HSLhsl(42, 59%, 42%)
HSVhsv(42, 74%, 67%)
CMYKcmyk(0%, 22.8%, 74.3%, 32.9%)
CIE-LABlab(57.41, 6.07, 50.75)
CIE-LCHlch(57.41, 51.11, 83.18°)
OKLaboklab(63.51% 0.0121 0.1124)
OKLCHoklch(63.51% 0.113 83.9)
XYZxyz(25.5021, 25.3441, 5.9311)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB842C #2C53AB
analogous
#AB452C #AB842C #93AB2C
triadic
#AB842C #2CAB84 #842CAB
tetradic
#AB842C #2CAB45 #2C53AB #AB2C93
square
#AB842C #2CAB45 #2C53AB #AB2C93
split-complementary
#AB842C #2C93AB #452CAB
monochromatic
#4A3913 #7A5E1F #AB842C #CFA545 #DCBC76

Accessibility & contrast

On white

3.46
#AB842C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AB842C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB842C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB842C#FFFFFF#000000##000000
##AB842C1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841F
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#BA7872
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab842c;
/* rgb */ color: rgb(171, 132, 44);
/* oklch */ color: oklch(63.5% 0.113 83.9);
Tailwind
colors: {
  custom: {
    50: '#c8a76b',
    500: '#ab842c',
    950: '#000000',
  },
}
SCSS
$custom: #ab842c;
$custom-light: #c8a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab842c",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 41.575,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63509,
    "c": 0.11304,
    "h": 83.9
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#AB842C
secondary
#6F89C3
accent
#76E246
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB842C

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

Preview Lab → · Contrast checker → · Palette generator →

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