#80872D#80872D

#80872D is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.0% C 0.113 H 113.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#80872D
RGBrgb(128, 135, 45)
HSLhsl(65, 50%, 35%)
HSVhsv(65, 67%, 53%)
CMYKcmyk(5.2%, 0%, 66.7%, 47.1%)
CIE-LABlab(54.14, -14.98, 45.68)
CIE-LCHlch(54.14, 48.08, 108.16°)
OKLaboklab(59.95% -0.0451 0.1034)
OKLCHoklch(59.95% 0.113 113.6)
XYZxyz(18.0402, 22.1070, 5.7989)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80872D #342D87
analogous
#87612D #80872D #53872D
triadic
#80872D #2D8087 #872D80
tetradic
#80872D #2D8761 #342D87 #872D53
square
#80872D #2D8761 #342D87 #872D53
split-complementary
#80872D #2D5387 #612D87
monochromatic
#292B0E #54591E #80872D #ACB53C #C3CB63

Accessibility & contrast

On white

3.87
#80872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#80872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80872D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80872D#FFFFFF#000000##000000
##80872D1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#887F75
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80872d;
/* rgb */ color: rgb(128, 135, 45);
/* oklch */ color: oklch(60.0% 0.113 113.6);
Tailwind
colors: {
  custom: {
    50: '#a7a96b',
    500: '#80872d',
    950: '#000000',
  },
}
SCSS
$custom: #80872d;
$custom-light: #a7a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#80872d",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 64.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.11278,
    "h": 113.6
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#80872D
secondary
#655EB2
accent
#4EDA59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80872D

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

Preview Lab → · Contrast checker → · Palette generator →

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