#808E20#808E20

#808E20 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.130 H 116.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#808E20
RGBrgb(128, 142, 32)
HSLhsl(68, 63%, 34%)
HSVhsv(68, 77%, 56%)
CMYKcmyk(9.9%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.13, -19.38, 52.67)
CIE-LCHlch(56.13, 56.12, 110.20°)
OKLaboklab(61.52% -0.0586 0.1158)
OKLCHoklch(61.52% 0.13 116.8)
XYZxyz(18.8363, 24.0397, 5.0141)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E20 #2E208E
analogous
#8E6520 #808E20 #498E20
triadic
#808E20 #20808E #8E2080
tetradic
#808E20 #208E65 #2E208E #8E2049
square
#808E20 #208E65 #2E208E #8E2049
split-complementary
#808E20 #20498E #65208E
monochromatic
#262A09 #535C15 #808E20 #ADC02B #C7D851

Accessibility & contrast

On white

3.62
#808E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#808E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E20
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E20#FFFFFF#000000##000000
##808E201.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988604
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#888679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e20;
/* rgb */ color: rgb(128, 142, 32);
/* oklch */ color: oklch(61.5% 0.130 116.8);
Tailwind
colors: {
  custom: {
    50: '#a8af65',
    500: '#808e20',
    950: '#000000',
  },
}
SCSS
$custom: #808e20;
$custom-light: #a8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#808e20",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 67.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.12981,
    "h": 116.8
  },
  "luminance": 0.24039
}

Semantic roles & 50–950 ramp

primary
#808E20
secondary
#5D4FBB
accent
#42E657
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E20

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

Preview Lab → · Contrast checker → · Palette generator →

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