#80871B#80871B

#80871B 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#80871B
RGBrgb(128, 135, 27)
HSLhsl(64, 67%, 32%)
HSVhsv(64, 80%, 53%)
CMYKcmyk(5.2%, 0%, 80%, 47.1%)
CIE-LABlab(54.02, -15.95, 52.38)
CIE-LCHlch(54.02, 54.75, 106.94°)
OKLaboklab(59.82% -0.0495 0.1143)
OKLCHoklch(59.82% 0.125 113.4)
XYZxyz(17.7645, 21.9967, 4.3467)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80871B #221B87
analogous
#87581B #80871B #4A871B
triadic
#80871B #1B8087 #871B80
tetradic
#80871B #1B8758 #221B87 #871B4A
square
#80871B #1B8758 #221B87 #871B4A
split-complementary
#80871B #1B4A87 #581B87
monochromatic
#1F2107 #505411 #80871B #B0BA25 #D0D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80871B#FFFFFF#000000##000000
##80871B1.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)
#928225
Tritanopia (blue-blind)
#897E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80871b;
/* rgb */ color: rgb(128, 135, 27);
/* oklch */ color: oklch(59.8% 0.125 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a962',
    500: '#80871b',
    950: '#000000',
  },
}
SCSS
$custom: #80871b;
$custom-light: #a8a962;
$custom-dark: #000000;
JSON
{
  "hex": "#80871b",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 63.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.12455,
    "h": 113.4
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#80871B
secondary
#4B44BA
accent
#3EEA49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80871B

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

Preview Lab → · Contrast checker → · Palette generator →

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