#AB802F#AB802F

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

Color values

HEX#AB802F
RGBrgb(171, 128, 47)
HSLhsl(39, 57%, 43%)
HSVhsv(39, 73%, 67%)
CMYKcmyk(0%, 25.1%, 72.5%, 32.9%)
CIE-LABlab(56.39, 8.45, 48.44)
CIE-LCHlch(56.39, 49.18, 80.10°)
OKLaboklab(62.72% 0.0194 0.1081)
OKLCHoklch(62.72% 0.11 79.8)
XYZxyz(25.0285, 24.3034, 6.0616)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB802F #2F5AAB
analogous
#AB422F #AB802F #98AB2F
triadic
#AB802F #2FAB80 #802FAB
tetradic
#AB802F #2FAB42 #2F5AAB #AB2F98
square
#AB802F #2FAB42 #2F5AAB #AB2F98
split-complementary
#AB802F #2F98AB #422FAB
monochromatic
#4B3815 #7B5C22 #AB802F #CDA04A #DAB97A

Accessibility & contrast

On white

3.58
#AB802F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB802F#FFFFFF#000000##000000
##AB802F1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918124
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#BA746F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab802f;
/* rgb */ color: rgb(171, 128, 47);
/* oklch */ color: oklch(62.7% 0.110 79.8);
Tailwind
colors: {
  custom: {
    50: '#c8a46c',
    500: '#ab802f',
    950: '#000000',
  },
}
SCSS
$custom: #ab802f;
$custom-light: #c8a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab802f",
  "rgb": {
    "r": 171,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 39.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.10981,
    "h": 79.8
  },
  "luminance": 0.24302
}

Semantic roles & 50–950 ramp

primary
#AB802F
secondary
#738FC3
accent
#7DE048
background
#FCFAF6
surface
#F9F4EC
border
#D2CEC7
text
#140F07
muted
#827F7A

Preview Lab

Preview with #AB802F

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

Preview Lab → · Contrast checker → · Palette generator →

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