#80821A#80821A

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

Color values

HEX#80821A
RGBrgb(128, 130, 26)
HSLhsl(61, 67%, 31%)
HSVhsv(61, 80%, 51%)
CMYKcmyk(1.5%, 0%, 80%, 49%)
CIE-LABlab(52.54, -13.33, 51.36)
CIE-LCHlch(52.54, 53.06, 104.55°)
OKLaboklab(58.63% -0.0424 0.1119)
OKLCHoklch(58.63% 0.12 110.7)
XYZxyz(17.0718, 20.6295, 4.0597)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821A #1C1A82
analogous
#82501A #80821A #4C821A
triadic
#80821A #1A8082 #821A80
tetradic
#80821A #1A8250 #1C1A82 #821A4C
square
#80821A #1A8250 #1C1A82 #821A4C
split-complementary
#80821A #1A4C82 #501A82
monochromatic
#1C1C06 #4E4F10 #80821A #B2B524 #D5D83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80821A#FFFFFF#000000##000000
##80821A1.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)
#8E7F23
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #80821a;
/* rgb */ color: rgb(128, 130, 26);
/* oklch */ color: oklch(58.6% 0.120 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a661',
    500: '#80821a',
    950: '#000000',
  },
}
SCSS
$custom: #80821a;
$custom-light: #a8a661;
$custom-dark: #000000;
JSON
{
  "hex": "#80821a",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 61.154,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.11966,
    "h": 110.7
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#80821A
secondary
#4442B6
accent
#3EEA42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80821A

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

Preview Lab → · Contrast checker → · Palette generator →

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