#AB802B#AB802B

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

Color values

HEX#AB802B
RGBrgb(171, 128, 43)
HSLhsl(40, 60%, 42%)
HSVhsv(40, 75%, 67%)
CMYKcmyk(0%, 25.1%, 74.9%, 32.9%)
CIE-LABlab(56.36, 8.26, 50.13)
CIE-LCHlch(56.36, 50.81, 80.65°)
OKLaboklab(62.68% 0.0183 0.1109)
OKLCHoklch(62.68% 0.112 80.6)
XYZxyz(24.9514, 24.2726, 5.6559)
Luminance0.2427 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB802B #2B56AB
analogous
#AB402B #AB802B #96AB2B
triadic
#AB802B #2BAB80 #802BAB
tetradic
#AB802B #2BAB40 #2B56AB #AB2B96
square
#AB802B #2BAB40 #2B56AB #AB2B96
split-complementary
#AB802B #2B96AB #402BAB
monochromatic
#493712 #7A5B1F #AB802B #D0A143 #DCB974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB802B#FFFFFF#000000##000000
##AB802B1.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)
#91811F
Deuteranopia (green-blind)
#9B8C2E
Tritanopia (blue-blind)
#BA736F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab802b;
/* rgb */ color: rgb(171, 128, 43);
/* oklch */ color: oklch(62.7% 0.112 80.6);
Tailwind
colors: {
  custom: {
    50: '#c8a46a',
    500: '#ab802b',
    950: '#000000',
  },
}
SCSS
$custom: #ab802b;
$custom-light: #c8a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab802b",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 39.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62683,
    "c": 0.11236,
    "h": 80.6
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#AB802B
secondary
#6E8BC4
accent
#7AE345
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB802B

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

Preview Lab → · Contrast checker → · Palette generator →

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