#80871A#80871A

#80871A is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.8% C 0.125 H 113.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#80871A
RGBrgb(128, 135, 26)
HSLhsl(64, 68%, 32%)
HSVhsv(64, 81%, 53%)
CMYKcmyk(5.2%, 0%, 80.7%, 47.1%)
CIE-LABlab(54.02, -15.99, 52.68)
CIE-LCHlch(54.02, 55.06, 106.89°)
OKLaboklab(59.81% -0.0497 0.1147)
OKLCHoklch(59.81% 0.125 113.4)
XYZxyz(17.7531, 21.9921, 4.2868)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80871A #211A87
analogous
#87581A #80871A #4A871A
triadic
#80871A #1A8087 #871A80
tetradic
#80871A #1A8758 #211A87 #871A4A
square
#80871A #1A8758 #211A87 #871A4A
split-complementary
#80871A #1A4A87 #581A87
monochromatic
#1F2006 #4F5410 #80871A #B1BA24 #D1DA41

Accessibility & contrast

On white

3.89
#80871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#80871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80871A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80871A#FFFFFF#000000##000000
##80871A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80871a;
/* rgb */ color: rgb(128, 135, 26);
/* oklch */ color: oklch(59.8% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a961',
    500: '#80871a',
    950: '#000000',
  },
}
SCSS
$custom: #80871a;
$custom-light: #a8a961;
$custom-dark: #000000;
JSON
{
  "hex": "#80871a",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 63.853,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.12506,
    "h": 113.4
  },
  "luminance": 0.21992
}

Semantic roles & 50–950 ramp

primary
#80871A
secondary
#4A42BA
accent
#3DEB48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80871A

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

Preview Lab → · Contrast checker → · Palette generator →

#80871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva