#80811A#80811A

#80811A is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.119 H 110.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#80811A
RGBrgb(128, 129, 26)
HSLhsl(61, 66%, 30%)
HSVhsv(61, 80%, 51%)
CMYKcmyk(0.8%, 0%, 79.8%, 49.4%)
CIE-LABlab(52.25, -12.79, 51.10)
CIE-LCHlch(52.25, 52.67, 104.05°)
OKLaboklab(58.4% -0.0409 0.1114)
OKLCHoklch(58.4% 0.119 110.2)
XYZxyz(16.9394, 20.3648, 4.0156)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80811A #1B1A81
analogous
#814F1A #80811A #4C811A
triadic
#80811A #1A8081 #811A80
tetradic
#80811A #1A814F #1B1A81 #811A4C
square
#80811A #1A814F #1B1A81 #811A4C
split-complementary
#80811A #1A4C81 #4F1A81
monochromatic
#1B1B05 #4D4E10 #80811A #B3B424 #D6D83D

Accessibility & contrast

On white

4.14
#80811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#80811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80811A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80811A#FFFFFF#000000##000000
##80811A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#8A786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #80811a;
/* rgb */ color: rgb(128, 129, 26);
/* oklch */ color: oklch(58.4% 0.119 110.2);
Tailwind
colors: {
  custom: {
    50: '#a8a561',
    500: '#80811a',
    950: '#000000',
  },
}
SCSS
$custom: #80811a;
$custom-light: #a8a561;
$custom-dark: #000000;
JSON
{
  "hex": "#80811a",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 60.583,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58395,
    "c": 0.11861,
    "h": 110.2
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#80811A
secondary
#4342B5
accent
#3EE940
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80811A

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

Preview Lab → · Contrast checker → · Palette generator →

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