#80872A#80872A

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

Color values

HEX#80872A
RGBrgb(128, 135, 42)
HSLhsl(65, 53%, 35%)
HSVhsv(65, 69%, 53%)
CMYKcmyk(5.2%, 0%, 68.9%, 47.1%)
CIE-LABlab(54.12, -15.18, 46.94)
CIE-LCHlch(54.12, 49.33, 107.92°)
OKLaboklab(59.92% -0.046 0.1055)
OKLCHoklch(59.92% 0.115 113.5)
XYZxyz(17.9845, 22.0847, 5.5054)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80872A #312A87
analogous
#87602A #80872A #52872A
triadic
#80872A #2A8087 #872A80
tetradic
#80872A #2A8760 #312A87 #872A52
square
#80872A #2A8760 #312A87 #872A52
split-complementary
#80872A #2A5287 #602A87
monochromatic
#272A0D #54581B #80872A #ACB639 #C5CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80872A#FFFFFF#000000##000000
##80872A1.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)
#91801C
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80872a;
/* rgb */ color: rgb(128, 135, 42);
/* oklch */ color: oklch(59.9% 0.115 113.5);
Tailwind
colors: {
  custom: {
    50: '#a7a969',
    500: '#80872a',
    950: '#000000',
  },
}
SCSS
$custom: #80872a;
$custom-light: #a7a969;
$custom-dark: #000000;
JSON
{
  "hex": "#80872a",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 64.516,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.11509,
    "h": 113.5
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#80872A
secondary
#615AB3
accent
#4CDC57
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80872A

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

Preview Lab → · Contrast checker → · Palette generator →

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