#508D37#508D37

#508D37 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.2% C 0.135 H 137.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#508D37
RGBrgb(80, 141, 55)
HSLhsl(103, 44%, 38%)
HSVhsv(103, 61%, 55%)
CMYKcmyk(43.3%, 0%, 61%, 44.7%)
CIE-LABlab(52.98, -36.32, 38.97)
CIE-LCHlch(52.98, 53.27, 132.99°)
OKLaboklab(58.24% -0.1001 0.0912)
OKLCHoklch(58.24% 0.135 137.7)
XYZxyz(13.5223, 21.0303, 6.9604)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D37 #74378D
analogous
#7B8D37 #508D37 #378D49
triadic
#508D37 #37508D #8D3750
tetradic
#508D37 #377B8D #74378D #8D4937
square
#508D37 #377B8D #74378D #8D4937
split-complementary
#508D37 #49378D #8D377B
monochromatic
#1E3515 #376126 #508D37 #69B849 #8EC975

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D37#FFFFFF#000000##000000
##508D371.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)
#91822E
Deuteranopia (green-blind)
#897D3E
Tritanopia (blue-blind)
#4D887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508d37;
/* rgb */ color: rgb(80, 141, 55);
/* oklch */ color: oklch(58.2% 0.135 137.7);
Tailwind
colors: {
  custom: {
    50: '#86af71',
    500: '#508d37',
    950: '#000000',
  },
}
SCSS
$custom: #508d37;
$custom-light: #86af71;
$custom-dark: #000000;
JSON
{
  "hex": "#508d37",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 102.558,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.13544,
    "h": 137.7
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#508D37
secondary
#9E6EB2
accent
#54D4AF
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D37

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

Preview Lab → · Contrast checker → · Palette generator →

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