#508E40#508E40

#508E40 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.6% C 0.129 H 139.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#508E40
RGBrgb(80, 142, 64)
HSLhsl(108, 38%, 40%)
HSVhsv(108, 55%, 56%)
CMYKcmyk(43.7%, 0%, 54.9%, 44.3%)
CIE-LABlab(53.41, -35.70, 35.03)
CIE-LCHlch(53.41, 50.02, 135.54°)
OKLaboklab(58.62% -0.0979 0.0835)
OKLCHoklch(58.62% 0.129 139.5)
XYZxyz(13.9062, 21.4208, 8.2514)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E40 #7E408E
analogous
#778E40 #508E40 #408E57
triadic
#508E40 #40508E #8E4050
tetradic
#508E40 #40778E #7E408E #8E5740
square
#508E40 #40778E #7E408E #8E5740
split-complementary
#508E40 #57408E #8E4077
monochromatic
#203A1A #38642D #508E40 #6AB458 #90C782

Accessibility & contrast

On white

3.97
#508E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#508E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E40
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E40#FFFFFF#000000##000000
##508E401.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#897D45
Tritanopia (blue-blind)
#4B8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e40;
/* rgb */ color: rgb(80, 142, 64);
/* oklch */ color: oklch(58.6% 0.129 139.5);
Tailwind
colors: {
  custom: {
    50: '#85af77',
    500: '#508e40',
    950: '#000000',
  },
}
SCSS
$custom: #508e40;
$custom-light: #85af77;
$custom-dark: #000000;
JSON
{
  "hex": "#508e40",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 107.692,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.12863,
    "h": 139.5
  },
  "luminance": 0.21422
}

Semantic roles & 50–950 ramp

primary
#508E40
secondary
#A579B1
accent
#5ACEB6
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508E40

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

Preview Lab → · Contrast checker → · Palette generator →

#508E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva