#80811F#80811F

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

Color values

HEX#80811F
RGBrgb(128, 129, 31)
HSLhsl(61, 61%, 31%)
HSVhsv(61, 76%, 51%)
CMYKcmyk(0.8%, 0%, 76%, 49.4%)
CIE-LABlab(52.27, -12.57, 49.42)
CIE-LCHlch(52.27, 50.99, 104.27°)
OKLaboklab(58.43% -0.0398 0.1088)
OKLCHoklch(58.43% 0.116 110.1)
XYZxyz(17.0003, 20.3891, 4.3360)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80811F #201F81
analogous
#81511F #80811F #4F811F
triadic
#80811F #1F8081 #811F80
tetradic
#80811F #1F8151 #201F81 #811F4F
square
#80811F #1F8151 #201F81 #811F4F
split-complementary
#80811F #1F4F81 #511F81
monochromatic
#1E1E07 #4F5013 #80811F #B1B22B #D1D347

Accessibility & contrast

On white

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

On black

5.08
#80811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80811F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80811F#FFFFFF#000000##000000
##80811F1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0A
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #80811f;
/* rgb */ color: rgb(128, 129, 31);
/* oklch */ color: oklch(58.4% 0.116 110.1);
Tailwind
colors: {
  custom: {
    50: '#a8a563',
    500: '#80811f',
    950: '#000000',
  },
}
SCSS
$custom: #80811f;
$custom-light: #a8a563;
$custom-dark: #000000;
JSON
{
  "hex": "#80811f",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 60.612,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.1158,
    "h": 110.1
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#80811F
secondary
#4948B4
accent
#43E445
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80811F

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

Preview Lab → · Contrast checker → · Palette generator →

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