#508B37#508B37

#508B37 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.7% C 0.133 H 137.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#508B37
RGBrgb(80, 139, 55)
HSLhsl(102, 43%, 38%)
HSVhsv(102, 60%, 55%)
CMYKcmyk(42.4%, 0%, 60.4%, 45.5%)
CIE-LABlab(52.34, -35.43, 38.23)
CIE-LCHlch(52.34, 52.12, 132.83°)
OKLaboklab(57.71% -0.0977 0.0896)
OKLCHoklch(57.71% 0.133 137.5)
XYZxyz(13.2301, 20.4458, 6.8630)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B37 #72378B
analogous
#7A8B37 #508B37 #378B48
triadic
#508B37 #37508B #8B3750
tetradic
#508B37 #377A8B #72378B #8B4837
square
#508B37 #377A8B #72378B #8B4837
split-complementary
#508B37 #48378B #8B377A
monochromatic
#1E3314 #375F26 #508B37 #69B748 #8DC874

Accessibility & contrast

On white

4.13
#508B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#508B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B37
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B37#FFFFFF#000000##000000
##508B371.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802E
Deuteranopia (green-blind)
#877B3D
Tritanopia (blue-blind)
#4D8679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b37;
/* rgb */ color: rgb(80, 139, 55);
/* oklch */ color: oklch(57.7% 0.133 137.5);
Tailwind
colors: {
  custom: {
    50: '#85ad71',
    500: '#508b37',
    950: '#000000',
  },
}
SCSS
$custom: #508b37;
$custom-light: #85ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#508b37",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 102.143,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.13259,
    "h": 137.5
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#508B37
secondary
#9D6DB1
accent
#55D3AD
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508B37

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

Preview Lab → · Contrast checker → · Palette generator →

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