#508E39#508E39

#508E39 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.5% C 0.135 H 138.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#508E39
RGBrgb(80, 142, 57)
HSLhsl(104, 43%, 39%)
HSVhsv(104, 60%, 56%)
CMYKcmyk(43.7%, 0%, 59.9%, 44.3%)
CIE-LABlab(53.33, -36.54, 38.40)
CIE-LCHlch(53.33, 53.01, 133.58°)
OKLaboklab(58.53% -0.1006 0.0902)
OKLCHoklch(58.53% 0.135 138.1)
XYZxyz(13.7193, 21.3461, 7.2674)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E39 #77398E
analogous
#7B8E39 #508E39 #398E4D
triadic
#508E39 #39508E #8E3950
tetradic
#508E39 #397B8E #77398E #8E4D39
square
#508E39 #397B8E #77398E #8E4D39
split-complementary
#508E39 #4D398E #8E397B
monochromatic
#1F3716 #376227 #508E39 #6AB74D #8EC978

Accessibility & contrast

On white

3.99
#508E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#508E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E39
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E39#FFFFFF#000000##000000
##508E391.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928330
Deuteranopia (green-blind)
#8A7D3F
Tritanopia (blue-blind)
#4C897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e39;
/* rgb */ color: rgb(80, 142, 57);
/* oklch */ color: oklch(58.5% 0.135 138.1);
Tailwind
colors: {
  custom: {
    50: '#86af72',
    500: '#508e39',
    950: '#000000',
  },
}
SCSS
$custom: #508e39;
$custom-light: #86af72;
$custom-dark: #000000;
JSON
{
  "hex": "#508e39",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 103.765,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.13511,
    "h": 138.1
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#508E39
secondary
#A071B2
accent
#55D2B1
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508E39

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

Preview Lab → · Contrast checker → · Palette generator →

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