#508F36#508F36

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

Color values

HEX#508F36
RGBrgb(80, 143, 54)
HSLhsl(102, 45%, 39%)
HSVhsv(102, 62%, 56%)
CMYKcmyk(44.1%, 0%, 62.2%, 43.9%)
CIE-LABlab(53.62, -37.30, 40.16)
CIE-LCHlch(53.62, 54.81, 132.89°)
OKLaboklab(58.76% -0.1029 0.0937)
OKLCHoklch(58.76% 0.139 137.7)
XYZxyz(13.7961, 21.6159, 6.9346)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F36 #75368F
analogous
#7C8F36 #508F36 #368F48
triadic
#508F36 #36508F #8F3650
tetradic
#508F36 #367C8F #75368F #8F4836
square
#508F36 #367C8F #75368F #8F4836
split-complementary
#508F36 #48368F #8F367C
monochromatic
#1E3614 #376325 #508F36 #69BA48 #8ECB75

Accessibility & contrast

On white

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

On black

5.32
#508F36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F36
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F36#FFFFFF#000000##000000
##508F361.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832C
Deuteranopia (green-blind)
#8B7E3D
Tritanopia (blue-blind)
#4C8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f36;
/* rgb */ color: rgb(80, 143, 54);
/* oklch */ color: oklch(58.8% 0.139 137.7);
Tailwind
colors: {
  custom: {
    50: '#86b071',
    500: '#508f36',
    950: '#000000',
  },
}
SCSS
$custom: #508f36;
$custom-light: #86b071;
$custom-dark: #000000;
JSON
{
  "hex": "#508f36",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 54
  },
  "hsl": {
    "h": 102.472,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58756,
    "c": 0.13913,
    "h": 137.7
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#508F36
secondary
#9F6DB3
accent
#53D5AF
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F36

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

Preview Lab → · Contrast checker → · Palette generator →

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