#80872C#80872C

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

Color values

HEX#80872C
RGBrgb(128, 135, 44)
HSLhsl(65, 51%, 35%)
HSVhsv(65, 67%, 53%)
CMYKcmyk(5.2%, 0%, 67.4%, 47.1%)
CIE-LABlab(54.13, -15.05, 46.11)
CIE-LCHlch(54.13, 48.50, 108.08°)
OKLaboklab(59.94% -0.0454 0.1041)
OKLCHoklch(59.94% 0.114 113.6)
XYZxyz(18.0212, 22.0993, 5.6987)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80872C #332C87
analogous
#87602C #80872C #53872C
triadic
#80872C #2C8087 #872C80
tetradic
#80872C #2C8760 #332C87 #872C53
square
#80872C #2C8760 #332C87 #872C53
split-complementary
#80872C #2C5387 #602C87
monochromatic
#282B0E #54591D #80872C #ACB53B #C4CC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80872C#FFFFFF#000000##000000
##80872C1.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)
#91811F
Deuteranopia (green-blind)
#918232
Tritanopia (blue-blind)
#887F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80872c;
/* rgb */ color: rgb(128, 135, 44);
/* oklch */ color: oklch(59.9% 0.114 113.6);
Tailwind
colors: {
  custom: {
    50: '#a7a96a',
    500: '#80872c',
    950: '#000000',
  },
}
SCSS
$custom: #80872c;
$custom-light: #a7a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#80872c",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 64.615,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.11356,
    "h": 113.6
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#80872C
secondary
#635DB2
accent
#4DDA58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80872C

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

Preview Lab → · Contrast checker → · Palette generator →

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