#80871E#80871E

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

Color values

HEX#80871E
RGBrgb(128, 135, 30)
HSLhsl(64, 64%, 32%)
HSVhsv(64, 78%, 53%)
CMYKcmyk(5.2%, 0%, 77.8%, 47.1%)
CIE-LABlab(54.04, -15.82, 51.41)
CIE-LCHlch(54.04, 53.79, 107.11°)
OKLaboklab(59.84% -0.0489 0.1128)
OKLCHoklch(59.84% 0.123 113.5)
XYZxyz(17.8010, 22.0113, 4.5389)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80871E #251E87
analogous
#875A1E #80871E #4C871E
triadic
#80871E #1E8087 #871E80
tetradic
#80871E #1E875A #251E87 #871E4C
square
#80871E #1E875A #251E87 #871E4C
split-complementary
#80871E #1E4C87 #5A1E87
monochromatic
#212308 #515513 #80871E #AFB929 #CDD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80871E#FFFFFF#000000##000000
##80871E1.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)
#918004
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#897F73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80871e;
/* rgb */ color: rgb(128, 135, 30);
/* oklch */ color: oklch(59.8% 0.123 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a963',
    500: '#80871e',
    950: '#000000',
  },
}
SCSS
$custom: #80871e;
$custom-light: #a8a963;
$custom-dark: #000000;
JSON
{
  "hex": "#80871e",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 64,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.12294,
    "h": 113.5
  },
  "luminance": 0.22011
}

Semantic roles & 50–950 ramp

primary
#80871E
secondary
#5048B9
accent
#41E74C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80871E

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

Preview Lab → · Contrast checker → · Palette generator →

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