#808320#808320

#808320 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.117 H 111.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#808320
RGBrgb(128, 131, 32)
HSLhsl(62, 61%, 32%)
HSVhsv(62, 76%, 51%)
CMYKcmyk(2.3%, 0%, 75.6%, 48.6%)
CIE-LABlab(52.87, -13.60, 49.62)
CIE-LCHlch(52.87, 51.45, 105.33°)
OKLaboklab(58.9% -0.0426 0.1094)
OKLCHoklch(58.9% 0.117 111.3)
XYZxyz(17.2797, 20.9265, 4.4952)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808320 #232083
analogous
#835520 #808320 #4F8320
triadic
#808320 #208083 #832080
tetradic
#808320 #208355 #232083 #83204F
square
#808320 #208355 #232083 #83204F
split-complementary
#808320 #204F83 #552083
monochromatic
#202108 #505214 #808320 #B0B42C #CFD34A

Accessibility & contrast

On white

4.05
#808320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#808320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808320
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808320#FFFFFF#000000##000000
##8083201.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0B
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#897B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808320;
/* rgb */ color: rgb(128, 131, 32);
/* oklch */ color: oklch(58.9% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#a8a664',
    500: '#808320',
    950: '#000000',
  },
}
SCSS
$custom: #808320;
$custom-light: #a8a664;
$custom-dark: #000000;
JSON
{
  "hex": "#808320",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 61.818,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.11735,
    "h": 111.3
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#808320
secondary
#4D49B6
accent
#44E449
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808320

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

Preview Lab → · Contrast checker → · Palette generator →

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