#80841B#80841B

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

Color values

HEX#80841B
RGBrgb(128, 132, 27)
HSLhsl(62, 66%, 31%)
HSVhsv(62, 80%, 52%)
CMYKcmyk(3%, 0%, 79.5%, 48.2%)
CIE-LABlab(53.14, -14.36, 51.58)
CIE-LCHlch(53.14, 53.54, 105.56°)
OKLaboklab(59.11% -0.0451 0.1126)
OKLCHoklch(59.11% 0.121 111.8)
XYZxyz(17.3518, 21.1713, 4.2091)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80841B #1F1B84
analogous
#84531B #80841B #4B841B
triadic
#80841B #1B8084 #841B80
tetradic
#80841B #1B8453 #1F1B84 #841B4B
square
#80841B #1B8453 #1F1B84 #841B4B
split-complementary
#80841B #1B4B84 #531B84
monochromatic
#1D1E06 #4F5111 #80841B #B1B725 #D2D841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80841B#FFFFFF#000000##000000
##80841B1.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: #80841b;
/* rgb */ color: rgb(128, 132, 27);
/* oklch */ color: oklch(59.1% 0.121 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a761',
    500: '#80841b',
    950: '#000000',
  },
}
SCSS
$custom: #80841b;
$custom-light: #a8a761;
$custom-dark: #000000;
JSON
{
  "hex": "#80841b",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 62.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.12128,
    "h": 111.8
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#80841B
secondary
#4843B7
accent
#3FE945
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80841B

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

Preview Lab → · Contrast checker → · Palette generator →

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