#508A37#508A37

#508A37 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.4% C 0.131 H 137.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#508A37
RGBrgb(80, 138, 55)
HSLhsl(102, 43%, 38%)
HSVhsv(102, 60%, 54%)
CMYKcmyk(42%, 0%, 60.1%, 45.9%)
CIE-LABlab(52.01, -34.99, 37.86)
CIE-LCHlch(52.01, 51.55, 132.74°)
OKLaboklab(57.45% -0.0965 0.0889)
OKLCHoklch(57.45% 0.131 137.4)
XYZxyz(13.0859, 20.1575, 6.8150)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A37 #71378A
analogous
#798A37 #508A37 #378A48
triadic
#508A37 #37508A #8A3750
tetradic
#508A37 #37798A #71378A #8A4837
square
#508A37 #37798A #71378A #8A4837
split-complementary
#508A37 #48378A #8A3779
monochromatic
#1D3214 #375E26 #508A37 #69B648 #8DC874

Accessibility & contrast

On white

4.17
#508A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#508A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A37
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A37#FFFFFF#000000##000000
##508A371.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#4D8578
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a37;
/* rgb */ color: rgb(80, 138, 55);
/* oklch */ color: oklch(57.4% 0.131 137.4);
Tailwind
colors: {
  custom: {
    50: '#85ac71',
    500: '#508a37',
    950: '#000000',
  },
}
SCSS
$custom: #508a37;
$custom-light: #85ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#508a37",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 101.928,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.13116,
    "h": 137.4
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508A37

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

Preview Lab → · Contrast checker → · Palette generator →

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