#AB802C#AB802C

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

Color values

HEX#AB802C
RGBrgb(171, 128, 44)
HSLhsl(40, 59%, 42%)
HSVhsv(40, 74%, 67%)
CMYKcmyk(0%, 25.1%, 74.3%, 32.9%)
CIE-LABlab(56.37, 8.30, 49.72)
CIE-LCHlch(56.37, 50.41, 80.52°)
OKLaboklab(62.69% 0.0185 0.1102)
OKLCHoklch(62.69% 0.112 80.4)
XYZxyz(24.9700, 24.2800, 5.7538)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB802C #2C57AB
analogous
#AB402C #AB802C #97AB2C
triadic
#AB802C #2CAB80 #802CAB
tetradic
#AB802C #2CAB40 #2C57AB #AB2C97
square
#AB802C #2CAB40 #2C57AB #AB2C97
split-complementary
#AB802C #2C97AB #402CAB
monochromatic
#4A3713 #7A5C1F #AB802C #CFA045 #DCB976

Accessibility & contrast

On white

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

On black

5.86
#AB802C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB802C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB802C#FFFFFF#000000##000000
##AB802C1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#9B8C2F
Tritanopia (blue-blind)
#BA736F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab802c;
/* rgb */ color: rgb(171, 128, 44);
/* oklch */ color: oklch(62.7% 0.112 80.4);
Tailwind
colors: {
  custom: {
    50: '#c8a46b',
    500: '#ab802c',
    950: '#000000',
  },
}
SCSS
$custom: #ab802c;
$custom-light: #c8a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab802c",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 39.685,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.62691,
    "c": 0.11174,
    "h": 80.4
  },
  "luminance": 0.24278
}

Semantic roles & 50–950 ramp

primary
#AB802C
secondary
#6F8CC3
accent
#7BE246
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB802C

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

Preview Lab → · Contrast checker → · Palette generator →

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