#80821E#80821E

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

Color values

HEX#80821E
RGBrgb(128, 130, 30)
HSLhsl(61, 63%, 31%)
HSVhsv(61, 77%, 51%)
CMYKcmyk(1.5%, 0%, 76.9%, 49%)
CIE-LABlab(52.56, -13.16, 50.04)
CIE-LCHlch(52.56, 51.74, 104.73°)
OKLaboklab(58.66% -0.0415 0.1099)
OKLCHoklch(58.66% 0.117 110.7)
XYZxyz(17.1197, 20.6487, 4.3118)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821E #201E82
analogous
#82521E #80821E #4E821E
triadic
#80821E #1E8082 #821E80
tetradic
#80821E #1E8252 #201E82 #821E4E
square
#80821E #1E8252 #201E82 #821E4E
split-complementary
#80821E #1E4E82 #521E82
monochromatic
#1E1F07 #4F5013 #80821E #B1B429 #D1D446

Accessibility & contrast

On white

4.09
#80821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##80821E#FFFFFF#000000##000000
##80821E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80821e;
/* rgb */ color: rgb(128, 130, 30);
/* oklch */ color: oklch(58.7% 0.117 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a662',
    500: '#80821e',
    950: '#000000',
  },
}
SCSS
$custom: #80821e;
$custom-light: #a8a662;
$custom-dark: #000000;
JSON
{
  "hex": "#80821e",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 61.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.11746,
    "h": 110.7
  },
  "luminance": 0.20648
}

Semantic roles & 50–950 ramp

primary
#80821E
secondary
#4947B5
accent
#42E646
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80821E

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

Preview Lab → · Contrast checker → · Palette generator →

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