#508B36#508B36

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

Color values

HEX#508B36
RGBrgb(80, 139, 54)
HSLhsl(102, 44%, 38%)
HSVhsv(102, 61%, 55%)
CMYKcmyk(42.4%, 0%, 61.2%, 45.5%)
CIE-LABlab(52.33, -35.54, 38.70)
CIE-LCHlch(52.33, 52.54, 132.57°)
OKLaboklab(57.7% -0.0981 0.0905)
OKLCHoklch(57.7% 0.133 137.3)
XYZxyz(13.2063, 20.4363, 6.7380)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B36 #71368B
analogous
#7A8B36 #508B36 #368B46
triadic
#508B36 #36508B #8B3650
tetradic
#508B36 #367A8B #71368B #8B4636
square
#508B36 #367A8B #71368B #8B4636
split-complementary
#508B36 #46368B #8B367A
monochromatic
#1D3314 #375F25 #508B36 #69B747 #8DC973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508B36#FFFFFF#000000##000000
##508B361.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)
#8F802D
Deuteranopia (green-blind)
#877B3C
Tritanopia (blue-blind)
#4D8679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b36;
/* rgb */ color: rgb(80, 139, 54);
/* oklch */ color: oklch(57.7% 0.133 137.3);
Tailwind
colors: {
  custom: {
    50: '#85ad70',
    500: '#508b36',
    950: '#000000',
  },
}
SCSS
$custom: #508b36;
$custom-light: #85ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#508b36",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 54
  },
  "hsl": {
    "h": 101.647,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.577,
    "c": 0.13347,
    "h": 137.3
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#508B36
secondary
#9C6CB1
accent
#54D4AD
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508B36

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

Preview Lab → · Contrast checker → · Palette generator →

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