#80871D#80871D

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

Color values

HEX#80871D
RGBrgb(128, 135, 29)
HSLhsl(64, 65%, 32%)
HSVhsv(64, 79%, 53%)
CMYKcmyk(5.2%, 0%, 78.5%, 47.1%)
CIE-LABlab(54.03, -15.87, 51.74)
CIE-LCHlch(54.03, 54.12, 107.05°)
OKLaboklab(59.83% -0.0491 0.1133)
OKLCHoklch(59.83% 0.124 113.4)
XYZxyz(17.7884, 22.0062, 4.4727)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80871D #241D87
analogous
#87591D #80871D #4B871D
triadic
#80871D #1D8087 #871D80
tetradic
#80871D #1D8759 #241D87 #871D4B
square
#80871D #1D8759 #241D87 #871D4B
split-complementary
#80871D #1D4B87 #591D87
monochromatic
#202207 #505512 #80871D #B0B928 #CED747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #80871d;
/* rgb */ color: rgb(128, 135, 29);
/* oklch */ color: oklch(59.8% 0.123 113.4);
Tailwind
colors: {
  custom: {
    50: '#a8a963',
    500: '#80871d',
    950: '#000000',
  },
}
SCSS
$custom: #80871d;
$custom-light: #a8a963;
$custom-dark: #000000;
JSON
{
  "hex": "#80871d",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 63.962,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.1235,
    "h": 113.4
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#80871D
secondary
#4E46B9
accent
#40E84B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80871D

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

Preview Lab → · Contrast checker → · Palette generator →

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