#80871C#80871C

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

Color values

HEX#80871C
RGBrgb(128, 135, 28)
HSLhsl(64, 66%, 32%)
HSVhsv(64, 79%, 53%)
CMYKcmyk(5.2%, 0%, 79.3%, 47.1%)
CIE-LABlab(54.03, -15.91, 52.06)
CIE-LCHlch(54.03, 54.44, 106.99°)
OKLaboklab(59.83% -0.0493 0.1138)
OKLCHoklch(59.83% 0.124 113.4)
XYZxyz(17.7762, 22.0014, 4.4087)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80871C #231C87
analogous
#87591C #80871C #4B871C
triadic
#80871C #1C8087 #871C80
tetradic
#80871C #1C8759 #231C87 #871C4B
square
#80871C #1C8759 #231C87 #871C4B
split-complementary
#80871C #1C4B87 #591C87
monochromatic
#202207 #505411 #80871C #B0BA27 #CFD845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #80871c;
/* rgb */ color: rgb(128, 135, 28);
/* oklch */ color: oklch(59.8% 0.124 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a962',
    500: '#80871c',
    950: '#000000',
  },
}
SCSS
$custom: #80871c;
$custom-light: #a8a962;
$custom-dark: #000000;
JSON
{
  "hex": "#80871c",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 63.925,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.12403,
    "h": 113.4
  },
  "luminance": 0.22001
}

Semantic roles & 50–950 ramp

primary
#80871C
secondary
#4D45BA
accent
#3FE94A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80871C

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

Preview Lab → · Contrast checker → · Palette generator →

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