#80862D#80862D

#80862D is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.112 H 113.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#80862D
RGBrgb(128, 134, 45)
HSLhsl(64, 50%, 35%)
HSVhsv(64, 66%, 53%)
CMYKcmyk(4.5%, 0%, 66.4%, 47.5%)
CIE-LABlab(53.85, -14.45, 45.38)
CIE-LCHlch(53.85, 47.62, 107.67°)
OKLaboklab(59.71% -0.0436 0.1027)
OKLCHoklch(59.71% 0.112 113)
XYZxyz(17.9013, 21.8292, 5.7526)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80862D #332D86
analogous
#86602D #80862D #53862D
triadic
#80862D #2D8086 #862D80
tetradic
#80862D #2D8660 #332D86 #862D53
square
#80862D #2D8660 #332D86 #862D53
split-complementary
#80862D #2D5386 #602D86
monochromatic
#282A0E #54581E #80862D #ACB43C #C4CB63

Accessibility & contrast

On white

3.91
#80862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#80862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80862D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80862D#FFFFFF#000000##000000
##80862D1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908021
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#887E74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #80862d;
/* rgb */ color: rgb(128, 134, 45);
/* oklch */ color: oklch(59.7% 0.112 113.0);
Tailwind
colors: {
  custom: {
    50: '#a7a96b',
    500: '#80862d',
    950: '#000000',
  },
}
SCSS
$custom: #80862d;
$custom-light: #a7a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#80862d",
  "rgb": {
    "r": 128,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 64.045,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.11159,
    "h": 113
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#80862D
secondary
#635EB1
accent
#4FD958
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #80862D

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

Preview Lab → · Contrast checker → · Palette generator →

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