#508F37#508F37

#508F37 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.8% C 0.138 H 137.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#508F37
RGBrgb(80, 143, 55)
HSLhsl(103, 44%, 39%)
HSVhsv(103, 62%, 56%)
CMYKcmyk(44.1%, 0%, 61.5%, 43.9%)
CIE-LABlab(53.63, -37.20, 39.70)
CIE-LCHlch(53.63, 54.40, 133.14°)
OKLaboklab(58.77% -0.1025 0.0928)
OKLCHoklch(58.77% 0.138 137.8)
XYZxyz(13.8199, 21.6254, 7.0596)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F37 #76378F
analogous
#7C8F37 #508F37 #378F4A
triadic
#508F37 #37508F #8F3750
tetradic
#508F37 #377C8F #76378F #8F4A37
square
#508F37 #377C8F #76378F #8F4A37
split-complementary
#508F37 #4A378F #8F377C
monochromatic
#1F3715 #376326 #508F37 #6AB94A #8ECA76

Accessibility & contrast

On white

3.94
#508F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#508F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F37
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F37#FFFFFF#000000##000000
##508F371.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93842D
Deuteranopia (green-blind)
#8B7E3E
Tritanopia (blue-blind)
#4C8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f37;
/* rgb */ color: rgb(80, 143, 55);
/* oklch */ color: oklch(58.8% 0.138 137.8);
Tailwind
colors: {
  custom: {
    50: '#86b071',
    500: '#508f37',
    950: '#000000',
  },
}
SCSS
$custom: #508f37;
$custom-light: #86b071;
$custom-dark: #000000;
JSON
{
  "hex": "#508f37",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 102.955,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.13828,
    "h": 137.8
  },
  "luminance": 0.21626
}

Semantic roles & 50–950 ramp

primary
#508F37
secondary
#A06FB3
accent
#54D4B0
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F37

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

Preview Lab → · Contrast checker → · Palette generator →

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