#80821C#80821C

#80821C 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#80821C
RGBrgb(128, 130, 28)
HSLhsl(61, 65%, 31%)
HSVhsv(61, 78%, 51%)
CMYKcmyk(1.5%, 0%, 78.5%, 49%)
CIE-LABlab(52.55, -13.25, 50.72)
CIE-LCHlch(52.55, 52.42, 104.64°)
OKLaboklab(58.64% -0.0419 0.1109)
OKLCHoklch(58.64% 0.119 110.7)
XYZxyz(17.0949, 20.6388, 4.1816)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80821C #1E1C82
analogous
#82511C #80821C #4D821C
triadic
#80821C #1C8082 #821C80
tetradic
#80821C #1C8251 #1E1C82 #821C4D
square
#80821C #1C8251 #1E1C82 #821C4D
split-complementary
#80821C #1C4D82 #511C82
monochromatic
#1D1D06 #4E5011 #80821C #B2B427 #D3D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #80821c;
/* rgb */ color: rgb(128, 130, 28);
/* oklch */ color: oklch(58.6% 0.119 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a662',
    500: '#80821c',
    950: '#000000',
  },
}
SCSS
$custom: #80821c;
$custom-light: #a8a662;
$custom-dark: #000000;
JSON
{
  "hex": "#80821c",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 61.176,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.1186,
    "h": 110.7
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#80821C
secondary
#4744B5
accent
#40E844
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80821C

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

Preview Lab → · Contrast checker → · Palette generator →

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