#80821D#80821D

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

Color values

HEX#80821D
RGBrgb(128, 130, 29)
HSLhsl(61, 64%, 31%)
HSVhsv(61, 78%, 51%)
CMYKcmyk(1.5%, 0%, 77.7%, 49%)
CIE-LABlab(52.56, -13.20, 50.38)
CIE-LCHlch(52.56, 52.08, 104.68°)
OKLaboklab(58.65% -0.0417 0.1104)
OKLCHoklch(58.65% 0.118 110.7)
XYZxyz(17.1071, 20.6436, 4.2456)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821D #1F1D82
analogous
#82511D #80821D #4D821D
triadic
#80821D #1D8082 #821D80
tetradic
#80821D #1D8251 #1F1D82 #821D4D
square
#80821D #1D8251 #1F1D82 #821D4D
split-complementary
#80821D #1D4D82 #511D82
monochromatic
#1D1E07 #4F5012 #80821D #B1B428 #D2D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80821D#FFFFFF#000000##000000
##80821D1.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)
#8D7C04
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #80821d;
/* rgb */ color: rgb(128, 130, 29);
/* oklch */ color: oklch(58.6% 0.118 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a662',
    500: '#80821d',
    950: '#000000',
  },
}
SCSS
$custom: #80821d;
$custom-light: #a8a662;
$custom-dark: #000000;
JSON
{
  "hex": "#80821d",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 61.188,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.11804,
    "h": 110.7
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#80821D
secondary
#4846B5
accent
#41E745
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80821D

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

Preview Lab → · Contrast checker → · Palette generator →

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