#508D39#508D39

#508D39 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.3% C 0.134 H 138.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#508D39
RGBrgb(80, 141, 57)
HSLhsl(104, 42%, 39%)
HSVhsv(104, 60%, 55%)
CMYKcmyk(43.3%, 0%, 59.6%, 44.7%)
CIE-LABlab(53.00, -36.10, 38.03)
CIE-LCHlch(53.00, 52.43, 133.51°)
OKLaboklab(58.26% -0.0994 0.0894)
OKLCHoklch(58.26% 0.134 138)
XYZxyz(13.5712, 21.0498, 7.2180)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D39 #76398D
analogous
#7A8D39 #508D39 #398D4C
triadic
#508D39 #39508D #8D3950
tetradic
#508D39 #397A8D #76398D #8D4C39
square
#508D39 #397A8D #76398D #8D4C39
split-complementary
#508D39 #4C398D #8D397A
monochromatic
#1F3616 #376127 #508D39 #6AB74C #8EC878

Accessibility & contrast

On white

4.03
#508D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#508D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D39
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D39#FFFFFF#000000##000000
##508D391.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918230
Deuteranopia (green-blind)
#897D3F
Tritanopia (blue-blind)
#4C887B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d39;
/* rgb */ color: rgb(80, 141, 57);
/* oklch */ color: oklch(58.3% 0.134 138.0);
Tailwind
colors: {
  custom: {
    50: '#85af72',
    500: '#508d39',
    950: '#000000',
  },
}
SCSS
$custom: #508d39;
$custom-light: #85af72;
$custom-dark: #000000;
JSON
{
  "hex": "#508d39",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 103.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.13367,
    "h": 138
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#508D39
secondary
#A070B2
accent
#56D2B0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D39

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

Preview Lab → · Contrast checker → · Palette generator →

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