#808221#808221

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

Color values

HEX#808221
RGBrgb(128, 130, 33)
HSLhsl(61, 60%, 32%)
HSVhsv(61, 75%, 51%)
CMYKcmyk(1.5%, 0%, 74.6%, 49%)
CIE-LABlab(52.58, -13.01, 48.98)
CIE-LCHlch(52.58, 50.67, 104.88°)
OKLaboklab(58.67% -0.0408 0.1082)
OKLCHoklch(58.67% 0.116 110.7)
XYZxyz(17.1598, 20.6647, 4.5233)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808221 #232182
analogous
#825421 #808221 #508221
triadic
#808221 #218082 #822180
tetradic
#808221 #218254 #232182 #822150
square
#808221 #218254 #232182 #822150
split-complementary
#808221 #215082 #542182
monochromatic
#202008 #505115 #808221 #B0B32D #CFD24C

Accessibility & contrast

On white

4.09
#808221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#808221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##808221#FFFFFF#000000##000000
##8082211.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)
#8D7C0E
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#897A6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808221;
/* rgb */ color: rgb(128, 130, 33);
/* oklch */ color: oklch(58.7% 0.116 110.7);
Tailwind
colors: {
  custom: {
    50: '#a8a664',
    500: '#808221',
    950: '#000000',
  },
}
SCSS
$custom: #808221;
$custom-light: #a8a664;
$custom-dark: #000000;
JSON
{
  "hex": "#808221",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 61.237,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.11565,
    "h": 110.7
  },
  "luminance": 0.20664
}

Semantic roles & 50–950 ramp

primary
#808221
secondary
#4D4AB4
accent
#45E348
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808221

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

Preview Lab → · Contrast checker → · Palette generator →

#808221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva