#80831C#80831C

#80831C is a mid, moderate 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#80831C
RGBrgb(128, 131, 28)
HSLhsl(62, 65%, 31%)
HSVhsv(62, 79%, 51%)
CMYKcmyk(2.3%, 0%, 78.6%, 48.6%)
CIE-LABlab(52.85, -13.78, 50.99)
CIE-LCHlch(52.85, 52.82, 105.13°)
OKLaboklab(58.88% -0.0434 0.1115)
OKLCHoklch(58.88% 0.12 111.3)
XYZxyz(17.2286, 20.9061, 4.2261)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80831C #1F1C83
analogous
#83521C #80831C #4C831C
triadic
#80831C #1C8083 #831C80
tetradic
#80831C #1C8352 #1F1C83 #831C4C
square
#80831C #1C8352 #1F1C83 #831C4C
split-complementary
#80831C #1C4C83 #521C83
monochromatic
#1D1E06 #4F5111 #80831C #B1B527 #D2D743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80831C#FFFFFF#000000##000000
##80831C1.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)
#8E7D02
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#897A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #80831c;
/* rgb */ color: rgb(128, 131, 28);
/* oklch */ color: oklch(58.9% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a662',
    500: '#80831c',
    950: '#000000',
  },
}
SCSS
$custom: #80831c;
$custom-light: #a8a662;
$custom-dark: #000000;
JSON
{
  "hex": "#80831c",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 61.748,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.11966,
    "h": 111.3
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#80831C
secondary
#4845B6
accent
#40E845
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80831C

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

Preview Lab → · Contrast checker → · Palette generator →

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