#808420#808420

#808420 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.118 H 111.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#808420
RGBrgb(128, 132, 32)
HSLhsl(62, 61%, 32%)
HSVhsv(62, 76%, 52%)
CMYKcmyk(3%, 0%, 75.8%, 48.2%)
CIE-LABlab(53.16, -14.13, 49.89)
CIE-LCHlch(53.16, 51.86, 105.82°)
OKLaboklab(59.14% -0.0441 0.11)
OKLCHoklch(59.14% 0.118 111.8)
XYZxyz(17.4146, 21.1964, 4.5402)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808420 #242084
analogous
#845620 #808420 #4E8420
triadic
#808420 #208084 #842080
tetradic
#808420 #208456 #242084 #84204E
square
#808420 #208456 #242084 #84204E
split-complementary
#808420 #204E84 #562084
monochromatic
#202108 #505314 #808420 #B0B52C #CED34B

Accessibility & contrast

On white

4.01
#808420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#808420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808420
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808420#FFFFFF#000000##000000
##8084201.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#897C71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808420;
/* rgb */ color: rgb(128, 132, 32);
/* oklch */ color: oklch(59.1% 0.118 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a764',
    500: '#808420',
    950: '#000000',
  },
}
SCSS
$custom: #808420;
$custom-light: #a8a764;
$custom-dark: #000000;
JSON
{
  "hex": "#808420",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 62.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.11845,
    "h": 111.8
  },
  "luminance": 0.21196
}

Semantic roles & 50–950 ramp

primary
#808420
secondary
#4E4AB6
accent
#44E44A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808420

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

Preview Lab → · Contrast checker → · Palette generator →

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