#508D36#508D36

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

Color values

HEX#508D36
RGBrgb(80, 141, 54)
HSLhsl(102, 45%, 38%)
HSVhsv(102, 62%, 55%)
CMYKcmyk(43.3%, 0%, 61.7%, 44.7%)
CIE-LABlab(52.97, -36.43, 39.43)
CIE-LCHlch(52.97, 53.68, 132.73°)
OKLaboklab(58.23% -0.1005 0.0921)
OKLCHoklch(58.23% 0.136 137.5)
XYZxyz(13.4986, 21.0208, 6.8355)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D36 #73368D
analogous
#7B8D36 #508D36 #368D47
triadic
#508D36 #36508D #8D3650
tetradic
#508D36 #367B8D #73368D #8D4736
square
#508D36 #367B8D #73368D #8D4736
split-complementary
#508D36 #47368D #8D367B
monochromatic
#1E3414 #376125 #508D36 #69B947 #8DCA74

Accessibility & contrast

On white

4.04
#508D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#508D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D36
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D36#FFFFFF#000000##000000
##508D361.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91822C
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#4D887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508d36;
/* rgb */ color: rgb(80, 141, 54);
/* oklch */ color: oklch(58.2% 0.136 137.5);
Tailwind
colors: {
  custom: {
    50: '#86af70',
    500: '#508d36',
    950: '#000000',
  },
}
SCSS
$custom: #508d36;
$custom-light: #86af70;
$custom-dark: #000000;
JSON
{
  "hex": "#508d36",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 102.069,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58228,
    "c": 0.13631,
    "h": 137.5
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#508D36
secondary
#9D6DB2
accent
#53D4AE
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D36

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

Preview Lab → · Contrast checker → · Palette generator →

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