#80831F#80831F

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

Color values

HEX#80831F
RGBrgb(128, 131, 31)
HSLhsl(62, 62%, 32%)
HSVhsv(62, 76%, 51%)
CMYKcmyk(2.3%, 0%, 76.3%, 48.6%)
CIE-LABlab(52.86, -13.65, 49.97)
CIE-LCHlch(52.86, 51.80, 105.28°)
OKLaboklab(58.9% -0.0428 0.1099)
OKLCHoklch(58.9% 0.118 111.3)
XYZxyz(17.2663, 20.9212, 4.4247)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80831F #221F83
analogous
#83541F #80831F #4E831F
triadic
#80831F #1F8083 #831F80
tetradic
#80831F #1F8354 #221F83 #831F4E
square
#80831F #1F8354 #221F83 #831F4E
split-complementary
#80831F #1F4E83 #541F83
monochromatic
#1F2008 #505213 #80831F #B0B42B #D0D449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80831F#FFFFFF#000000##000000
##80831F1.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)
#8E7D09
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#897B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #80831f;
/* rgb */ color: rgb(128, 131, 31);
/* oklch */ color: oklch(58.9% 0.118 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a663',
    500: '#80831f',
    950: '#000000',
  },
}
SCSS
$custom: #80831f;
$custom-light: #a8a663;
$custom-dark: #000000;
JSON
{
  "hex": "#80831f",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 61.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.11796,
    "h": 111.3
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#80831F
secondary
#4B48B6
accent
#43E548
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80831F

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

Preview Lab → · Contrast checker → · Palette generator →

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