#80841A#80841A

#80841A is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.122 H 111.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#80841A
RGBrgb(128, 132, 26)
HSLhsl(62, 67%, 31%)
HSVhsv(62, 80%, 52%)
CMYKcmyk(3%, 0%, 80.3%, 48.2%)
CIE-LABlab(53.13, -14.40, 51.89)
CIE-LCHlch(53.13, 53.85, 105.51°)
OKLaboklab(59.1% -0.0453 0.1131)
OKLCHoklch(59.1% 0.122 111.8)
XYZxyz(17.3404, 21.1667, 4.1492)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80841A #1E1A84
analogous
#84531A #80841A #4B841A
triadic
#80841A #1A8084 #841A80
tetradic
#80841A #1A8453 #1E1A84 #841A4B
square
#80841A #1A8453 #1E1A84 #841A4B
split-complementary
#80841A #1A4B84 #531A84
monochromatic
#1D1E06 #4E5110 #80841A #B2B724 #D3D93F

Accessibility & contrast

On white

4.01
#80841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#80841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80841A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80841A#FFFFFF#000000##000000
##80841A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#897B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #80841a;
/* rgb */ color: rgb(128, 132, 26);
/* oklch */ color: oklch(59.1% 0.122 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a761',
    500: '#80841a',
    950: '#000000',
  },
}
SCSS
$custom: #80841a;
$custom-light: #a8a761;
$custom-dark: #000000;
JSON
{
  "hex": "#80841a",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 62.264,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59103,
    "c": 0.1218,
    "h": 111.8
  },
  "luminance": 0.21166
}

Semantic roles & 50–950 ramp

primary
#80841A
secondary
#4742B8
accent
#3EEA44
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80841A

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

Preview Lab → · Contrast checker → · Palette generator →

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