#AB802A#AB802A

#AB802A is a light, moderate orange. Relative luminance 0.243; OKLCH L 62.7% C 0.113 H 80.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB802A
RGBrgb(171, 128, 42)
HSLhsl(40, 61%, 42%)
HSVhsv(40, 75%, 67%)
CMYKcmyk(0%, 25.1%, 75.4%, 32.9%)
CIE-LABlab(56.35, 8.21, 50.54)
CIE-LCHlch(56.35, 51.21, 80.77°)
OKLaboklab(62.68% 0.018 0.1115)
OKLCHoklch(62.68% 0.113 80.8)
XYZxyz(24.9333, 24.2653, 5.5605)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB802A #2A55AB
analogous
#AB402A #AB802A #96AB2A
triadic
#AB802A #2AAB80 #802AAB
tetradic
#AB802A #2AAB40 #2A55AB #AB2A96
square
#AB802A #2AAB40 #2A55AB #AB2A96
split-complementary
#AB802A #2A96AB #402AAB
monochromatic
#493612 #7A5B1E #AB802A #D1A142 #DDB973

Accessibility & contrast

On white

3.59
#AB802A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#AB802A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB802A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB802A#FFFFFF#000000##000000
##AB802A1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#9B8C2E
Tritanopia (blue-blind)
#BA736F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab802a;
/* rgb */ color: rgb(171, 128, 42);
/* oklch */ color: oklch(62.7% 0.113 80.8);
Tailwind
colors: {
  custom: {
    50: '#c8a469',
    500: '#ab802a',
    950: '#000000',
  },
}
SCSS
$custom: #ab802a;
$custom-light: #c8a469;
$custom-dark: #000000;
JSON
{
  "hex": "#ab802a",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 40,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.11297,
    "h": 80.8
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#AB802A
secondary
#6D8AC4
accent
#79E444
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB802A

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

Preview Lab → · Contrast checker → · Palette generator →

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