#AB8A2A#AB8A2A

#AB8A2A is a light, moderate orange. Relative luminance 0.270; OKLCH L 64.7% C 0.117 H 89.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB8A2A
RGBrgb(171, 138, 42)
HSLhsl(45, 61%, 42%)
HSVhsv(45, 75%, 67%)
CMYKcmyk(0%, 19.3%, 75.4%, 32.9%)
CIE-LABlab(58.98, 2.65, 53.09)
CIE-LCHlch(58.98, 53.16, 87.14°)
OKLaboklab(64.74% 0.002 0.117)
OKLCHoklch(64.74% 0.117 89)
XYZxyz(26.3025, 27.0037, 6.0169)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8A2A #2A4BAB
analogous
#AB4A2A #AB8A2A #8CAB2A
triadic
#AB8A2A #2AAB8A #8A2AAB
tetradic
#AB8A2A #2AAB4A #2A4BAB #AB2A8C
square
#AB8A2A #2AAB4A #2A4BAB #AB2A8C
split-complementary
#AB8A2A #2A8CAB #4A2AAB
monochromatic
#493B12 #7A621E #AB8A2A #D1AC42 #DDC273

Accessibility & contrast

On white

3.28
#AB8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB8A2A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8A2A#FFFFFF#000000##000000
##AB8A2A1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891A
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#B97E77
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab8a2a;
/* rgb */ color: rgb(171, 138, 42);
/* oklch */ color: oklch(64.7% 0.117 89.0);
Tailwind
colors: {
  custom: {
    50: '#c8ab6a',
    500: '#ab8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #ab8a2a;
$custom-light: #c8ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8a2a",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 44.651,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.11697,
    "h": 89
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#AB8A2A
secondary
#6D83C4
accent
#6DE444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AB8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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