#80872B#80872B

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

Color values

HEX#80872B
RGBrgb(128, 135, 43)
HSLhsl(65, 52%, 35%)
HSVhsv(65, 68%, 53%)
CMYKcmyk(5.2%, 0%, 68.1%, 47.1%)
CIE-LABlab(54.12, -15.11, 46.52)
CIE-LCHlch(54.12, 48.92, 108.00°)
OKLaboklab(59.93% -0.0457 0.1048)
OKLCHoklch(59.93% 0.114 113.5)
XYZxyz(18.0026, 22.0919, 5.6008)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80872B #322B87
analogous
#87602B #80872B #52872B
triadic
#80872B #2B8087 #872B80
tetradic
#80872B #2B8760 #322B87 #872B52
square
#80872B #2B8760 #322B87 #872B52
split-complementary
#80872B #2B5287 #602B87
monochromatic
#282A0D #54591C #80872B #ACB53A #C4CC60

Accessibility & contrast

On white

3.88
#80872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##80872B#FFFFFF#000000##000000
##80872B1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801E
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#887F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80872b;
/* rgb */ color: rgb(128, 135, 43);
/* oklch */ color: oklch(59.9% 0.114 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a96a',
    500: '#80872b',
    950: '#000000',
  },
}
SCSS
$custom: #80872b;
$custom-light: #a7a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#80872b",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 64.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.11433,
    "h": 113.5
  },
  "luminance": 0.22092
}

Semantic roles & 50–950 ramp

primary
#80872B
secondary
#625BB2
accent
#4DDB58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80872B

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

Preview Lab → · Contrast checker → · Palette generator →

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