#80821F#80821F

#80821F is a mid, moderate yellow. Relative luminance 0.207; 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#80821F
RGBrgb(128, 130, 31)
HSLhsl(61, 61%, 32%)
HSVhsv(61, 76%, 51%)
CMYKcmyk(1.5%, 0%, 76.2%, 49%)
CIE-LABlab(52.57, -13.11, 49.69)
CIE-LCHlch(52.57, 51.39, 104.78°)
OKLaboklab(58.66% -0.0413 0.1093)
OKLCHoklch(58.66% 0.117 110.7)
XYZxyz(17.1326, 20.6539, 4.3802)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821F #211F82
analogous
#82531F #80821F #4F821F
triadic
#80821F #1F8082 #821F80
tetradic
#80821F #1F8253 #211F82 #821F4F
square
#80821F #1F8253 #211F82 #821F4F
split-complementary
#80821F #1F4F82 #531F82
monochromatic
#1F1F07 #4F5113 #80821F #B1B32B #D1D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #80821f;
/* rgb */ color: rgb(128, 130, 31);
/* oklch */ color: oklch(58.7% 0.117 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a663',
    500: '#80821f',
    950: '#000000',
  },
}
SCSS
$custom: #80821f;
$custom-light: #a8a663;
$custom-dark: #000000;
JSON
{
  "hex": "#80821f",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 61.212,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58661,
    "c": 0.11687,
    "h": 110.7
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#80821F
secondary
#4A48B5
accent
#43E546
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80821F

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

Preview Lab → · Contrast checker → · Palette generator →

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