#AB8A40#AB8A40

#AB8A40 is a light, moderate orange. Relative luminance 0.272; OKLCH L 64.9% C 0.101 H 85.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB8A40
RGBrgb(171, 138, 64)
HSLhsl(41, 46%, 46%)
HSVhsv(41, 63%, 67%)
CMYKcmyk(0%, 19.3%, 62.6%, 32.9%)
CIE-LABlab(59.17, 3.92, 43.49)
CIE-LCHlch(59.17, 43.67, 84.85°)
OKLaboklab(64.95% 0.0084 0.1004)
OKLCHoklch(64.95% 0.101 85.2)
XYZxyz(26.8098, 27.2067, 8.6888)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8A40 #4061AB
analogous
#AB5440 #AB8A40 #96AB40
triadic
#AB8A40 #40AB8A #8A40AB
tetradic
#AB8A40 #40AB54 #4061AB #AB4096
square
#AB8A40 #40AB54 #4061AB #AB4096
split-complementary
#AB8A40 #4096AB #5440AB
monochromatic
#52421F #7E662F #AB8A40 #C5A763 #D5C090

Accessibility & contrast

On white

3.26
#AB8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8A40
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8A40#FFFFFF#000000##000000
##AB8A401.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#A19243
Tritanopia (blue-blind)
#B97F7A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab8a40;
/* rgb */ color: rgb(171, 138, 64);
/* oklch */ color: oklch(64.9% 0.101 85.2);
Tailwind
colors: {
  custom: {
    50: '#c7ab78',
    500: '#ab8a40',
    950: '#000000',
  },
}
SCSS
$custom: #ab8a40;
$custom-light: #c7ab78;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8a40",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 41.495,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.10073,
    "h": 85.2
  },
  "luminance": 0.27205
}

Semantic roles & 50–950 ramp

primary
#AB8A40
secondary
#8698C1
accent
#7BD553
background
#FCFAF7
surface
#F9F4ED
border
#D2CEC8
text
#131009
muted
#827F7B

Preview Lab

Preview with #AB8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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