#808D20#808D20

#808D20 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.129 H 116.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#808D20
RGBrgb(128, 141, 32)
HSLhsl(67, 63%, 34%)
HSVhsv(67, 77%, 55%)
CMYKcmyk(9.2%, 0%, 77.3%, 44.7%)
CIE-LABlab(55.83, -18.87, 52.39)
CIE-LCHlch(55.83, 55.69, 109.80°)
OKLaboklab(61.28% -0.0572 0.1152)
OKLCHoklch(61.28% 0.129 116.4)
XYZxyz(18.6882, 23.7435, 4.9647)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D20 #2D208D
analogous
#8D6420 #808D20 #4A8D20
triadic
#808D20 #20808D #8D2080
tetradic
#808D20 #208D64 #2D208D #8D204A
square
#808D20 #208D64 #2D208D #8D204A
split-complementary
#808D20 #204A8D #64208D
monochromatic
#252909 #535B15 #808D20 #ADBF2B #C7D750

Accessibility & contrast

On white

3.65
#808D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#808D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D20
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D20#FFFFFF#000000##000000
##808D201.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978505
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d20;
/* rgb */ color: rgb(128, 141, 32);
/* oklch */ color: oklch(61.3% 0.129 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae65',
    500: '#808d20',
    950: '#000000',
  },
}
SCSS
$custom: #808d20;
$custom-light: #a8ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#808d20",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 67.156,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61277,
    "c": 0.12865,
    "h": 116.4
  },
  "luminance": 0.23743
}

Semantic roles & 50–950 ramp

primary
#808D20
secondary
#5B4EBA
accent
#42E655
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D20

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

Preview Lab → · Contrast checker → · Palette generator →

#808D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva