#80872F#80872F

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

Color values

HEX#80872F
RGBrgb(128, 135, 47)
HSLhsl(65, 48%, 36%)
HSVhsv(65, 65%, 53%)
CMYKcmyk(5.2%, 0%, 65.2%, 47.1%)
CIE-LABlab(54.16, -14.85, 44.83)
CIE-LCHlch(54.16, 47.22, 108.32°)
OKLaboklab(59.97% -0.0445 0.1019)
OKLCHoklch(59.97% 0.111 113.6)
XYZxyz(18.0796, 22.1227, 6.0065)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80872F #362F87
analogous
#87622F #80872F #54872F
triadic
#80872F #2F8087 #872F80
tetradic
#80872F #2F8762 #362F87 #872F54
square
#80872F #2F8762 #362F87 #872F54
split-complementary
#80872F #2F5487 #622F87
monochromatic
#2A2C0F #555A1F #80872F #ABB43F #C2CA66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80872F#FFFFFF#000000##000000
##80872F1.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)
#918124
Deuteranopia (green-blind)
#918235
Tritanopia (blue-blind)
#887F75
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80872f;
/* rgb */ color: rgb(128, 135, 47);
/* oklch */ color: oklch(60.0% 0.111 113.6);
Tailwind
colors: {
  custom: {
    50: '#a7a96c',
    500: '#80872f',
    950: '#000000',
  },
}
SCSS
$custom: #80872f;
$custom-light: #a7a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#80872f",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 64.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.11116,
    "h": 113.6
  },
  "luminance": 0.22122
}

Semantic roles & 50–950 ramp

primary
#80872F
secondary
#6761B1
accent
#50D85B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80872F

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

Preview Lab → · Contrast checker → · Palette generator →

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