#80831B#80831B

#80831B is a mid, vivid yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.120 H 111.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#80831B
RGBrgb(128, 131, 27)
HSLhsl(62, 66%, 31%)
HSVhsv(62, 79%, 51%)
CMYKcmyk(2.3%, 0%, 79.4%, 48.6%)
CIE-LABlab(52.84, -13.82, 51.31)
CIE-LCHlch(52.84, 53.14, 105.08°)
OKLaboklab(58.87% -0.0436 0.112)
OKLCHoklch(58.87% 0.12 111.3)
XYZxyz(17.2168, 20.9014, 4.1641)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80831B #1E1B83
analogous
#83521B #80831B #4C831B
triadic
#80831B #1B8083 #831B80
tetradic
#80831B #1B8352 #1E1B83 #831B4C
square
#80831B #1B8352 #1E1B83 #831B4C
split-complementary
#80831B #1B4C83 #521B83
monochromatic
#1D1E06 #4E5011 #80831B #B2B625 #D3D841

Accessibility & contrast

On white

4.05
#80831B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#80831B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80831B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80831B#FFFFFF#000000##000000
##80831B1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#897A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #80831b;
/* rgb */ color: rgb(128, 131, 27);
/* oklch */ color: oklch(58.9% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a661',
    500: '#80831b',
    950: '#000000',
  },
}
SCSS
$custom: #80831b;
$custom-light: #a8a661;
$custom-dark: #000000;
JSON
{
  "hex": "#80831b",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 61.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58872,
    "c": 0.12021,
    "h": 111.3
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#80831B
secondary
#4743B6
accent
#3FE944
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80831B

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

Preview Lab → · Contrast checker → · Palette generator →

#80831B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva