#808820#808820

#808820 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.1% C 0.123 H 114.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#808820
RGBrgb(128, 136, 32)
HSLhsl(65, 62%, 33%)
HSVhsv(65, 76%, 53%)
CMYKcmyk(5.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(54.35, -16.26, 51.01)
CIE-LCHlch(54.35, 53.54, 107.68°)
OKLaboklab(60.09% -0.05 0.1123)
OKLCHoklch(60.09% 0.123 114)
XYZxyz(17.9675, 22.3022, 4.7245)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808820 #282088
analogous
#885C20 #808820 #4C8820
triadic
#808820 #208088 #882080
tetradic
#808820 #20885C #282088 #88204C
square
#808820 #20885C #282088 #88204C
split-complementary
#808820 #204C88 #5C2088
monochromatic
#232509 #515614 #808820 #AFBA2C #CBD54D

Accessibility & contrast

On white

3.85
#808820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#808820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808820
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808820#FFFFFF#000000##000000
##8088201.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928108
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#898074
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #808820;
/* rgb */ color: rgb(128, 136, 32);
/* oklch */ color: oklch(60.1% 0.123 114.0);
Tailwind
colors: {
  custom: {
    50: '#a8aa64',
    500: '#808820',
    950: '#000000',
  },
}
SCSS
$custom: #808820;
$custom-light: #a8aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#808820",
  "rgb": {
    "r": 128,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 64.615,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.12292,
    "h": 114
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#808820
secondary
#544CB8
accent
#43E54F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808820

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

Preview Lab → · Contrast checker → · Palette generator →

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