#AB842F#AB842F

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

Color values

HEX#AB842F
RGBrgb(171, 132, 47)
HSLhsl(41, 57%, 43%)
HSVhsv(41, 73%, 67%)
CMYKcmyk(0%, 22.8%, 72.5%, 32.9%)
CIE-LABlab(57.43, 6.22, 49.50)
CIE-LCHlch(57.43, 49.89, 82.84°)
OKLaboklab(63.53% 0.0129 0.1103)
OKLCHoklch(63.53% 0.111 83.3)
XYZxyz(25.5605, 25.3675, 6.2389)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB842F #2F56AB
analogous
#AB462F #AB842F #94AB2F
triadic
#AB842F #2FAB84 #842FAB
tetradic
#AB842F #2FAB46 #2F56AB #AB2F94
square
#AB842F #2FAB46 #2F56AB #AB2F94
split-complementary
#AB842F #2F94AB #462FAB
monochromatic
#4B3A15 #7B5F22 #AB842F #CDA44A #DABC7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB842F#FFFFFF#000000##000000
##AB842F1.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)
#958423
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#BA7873
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab842f;
/* rgb */ color: rgb(171, 132, 47);
/* oklch */ color: oklch(63.5% 0.111 83.3);
Tailwind
colors: {
  custom: {
    50: '#c8a76d',
    500: '#ab842f',
    950: '#000000',
  },
}
SCSS
$custom: #ab842f;
$custom-light: #c8a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab842f",
  "rgb": {
    "r": 171,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 41.129,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63534,
    "c": 0.11108,
    "h": 83.3
  },
  "luminance": 0.25366
}

Semantic roles & 50–950 ramp

primary
#AB842F
secondary
#738CC3
accent
#78E048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB842F

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

Preview Lab → · Contrast checker → · Palette generator →

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