#808D40#808D40

#808D40 is a mid, moderate yellow-green. Relative luminance 0.240; OKLCH L 61.6% C 0.103 H 117.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#808D40
RGBrgb(128, 141, 64)
HSLhsl(70, 38%, 40%)
HSVhsv(70, 55%, 55%)
CMYKcmyk(9.2%, 0%, 54.6%, 44.7%)
CIE-LABlab(56.10, -16.61, 38.95)
CIE-LCHlch(56.10, 42.34, 113.10°)
OKLaboklab(61.58% -0.0476 0.0915)
OKLCHoklch(61.58% 0.103 117.5)
XYZxyz(19.3526, 24.0093, 8.4642)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D40 #4D408D
analogous
#8D7340 #808D40 #598D40
triadic
#808D40 #40808D #8D4080
tetradic
#808D40 #408D73 #4D408D #8D4059
square
#808D40 #408D73 #4D408D #8D4059
split-complementary
#808D40 #40598D #73408D
monochromatic
#34391A #5A632D #808D40 #A3B357 #BAC681

Accessibility & contrast

On white

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

On black

5.80
#808D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D40
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D40#FFFFFF#000000##000000
##808D401.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958639
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#87867C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d40;
/* rgb */ color: rgb(128, 141, 64);
/* oklch */ color: oklch(61.6% 0.103 117.5);
Tailwind
colors: {
  custom: {
    50: '#a6ae77',
    500: '#808d40',
    950: '#000000',
  },
}
SCSS
$custom: #808d40;
$custom-light: #a6ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#808d40",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 70.13,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.10315,
    "h": 117.5
  },
  "luminance": 0.24009
}

Semantic roles & 50–950 ramp

primary
#808D40
secondary
#8278B0
accent
#5ACE6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #808D40

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

Preview Lab → · Contrast checker → · Palette generator →

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