#80831A#80831A

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

Color values

HEX#80831A
RGBrgb(128, 131, 26)
HSLhsl(62, 67%, 31%)
HSVhsv(62, 80%, 51%)
CMYKcmyk(2.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.84, -13.86, 51.63)
CIE-LCHlch(52.84, 53.45, 105.03°)
OKLaboklab(58.87% -0.0438 0.1125)
OKLCHoklch(58.87% 0.121 111.3)
XYZxyz(17.2055, 20.8968, 4.1042)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80831A #1D1A83
analogous
#83511A #80831A #4B831A
triadic
#80831A #1A8083 #831A80
tetradic
#80831A #1A8351 #1D1A83 #831A4B
square
#80831A #1A8351 #1D1A83 #831A4B
split-complementary
#80831A #1A4B83 #511A83
monochromatic
#1C1D06 #4E5010 #80831A #B2B624 #D4D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80831A#FFFFFF#000000##000000
##80831A1.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)
#8E7F23
Tritanopia (blue-blind)
#897A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #80831a;
/* rgb */ color: rgb(128, 131, 26);
/* oklch */ color: oklch(58.9% 0.121 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a661',
    500: '#80831a',
    950: '#000000',
  },
}
SCSS
$custom: #80831a;
$custom-light: #a8a661;
$custom-dark: #000000;
JSON
{
  "hex": "#80831a",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 61.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.12073,
    "h": 111.3
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#80831A
secondary
#4542B7
accent
#3EEA43
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80831A

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

Preview Lab → · Contrast checker → · Palette generator →

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