#80821B#80821B

#80821B is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.119 H 110.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#80821B
RGBrgb(128, 130, 27)
HSLhsl(61, 66%, 31%)
HSVhsv(61, 79%, 51%)
CMYKcmyk(1.5%, 0%, 79.2%, 49%)
CIE-LABlab(52.55, -13.29, 51.04)
CIE-LCHlch(52.55, 52.74, 104.59°)
OKLaboklab(58.64% -0.0422 0.1114)
OKLCHoklch(58.64% 0.119 110.7)
XYZxyz(17.0832, 20.6341, 4.1196)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821B #1D1B82
analogous
#82501B #80821B #4C821B
triadic
#80821B #1B8082 #821B80
tetradic
#80821B #1B8250 #1D1B82 #821B4C
square
#80821B #1B8250 #1D1B82 #821B4C
split-complementary
#80821B #1B4C82 #501B82
monochromatic
#1C1D06 #4E4F10 #80821B #B2B526 #D4D740

Accessibility & contrast

On white

4.10
#80821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#80821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80821B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80821B#FFFFFF#000000##000000
##80821B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #80821b;
/* rgb */ color: rgb(128, 130, 27);
/* oklch */ color: oklch(58.6% 0.119 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a661',
    500: '#80821b',
    950: '#000000',
  },
}
SCSS
$custom: #80821b;
$custom-light: #a8a661;
$custom-dark: #000000;
JSON
{
  "hex": "#80821b",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 61.165,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58636,
    "c": 0.11914,
    "h": 110.7
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#80821B
secondary
#4543B6
accent
#3FE943
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80821B

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

Preview Lab → · Contrast checker → · Palette generator →

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