#508F39#508F39

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

Color values

HEX#508F39
RGBrgb(80, 143, 57)
HSLhsl(104, 43%, 39%)
HSVhsv(104, 60%, 56%)
CMYKcmyk(44.1%, 0%, 60.1%, 43.9%)
CIE-LABlab(53.65, -36.98, 38.77)
CIE-LCHlch(53.65, 53.58, 133.64°)
OKLaboklab(58.79% -0.1018 0.091)
OKLCHoklch(58.79% 0.137 138.2)
XYZxyz(13.8688, 21.6450, 7.3172)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F39 #78398F
analogous
#7B8F39 #508F39 #398F4D
triadic
#508F39 #39508F #8F3950
tetradic
#508F39 #397B8F #78398F #8F4D39
square
#508F39 #397B8F #78398F #8F4D39
split-complementary
#508F39 #4D398F #8F397B
monochromatic
#1F3716 #386328 #508F39 #6AB84D #8ECA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F39#FFFFFF#000000##000000
##508F391.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)
#938430
Deuteranopia (green-blind)
#8B7E40
Tritanopia (blue-blind)
#4C8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f39;
/* rgb */ color: rgb(80, 143, 57);
/* oklch */ color: oklch(58.8% 0.137 138.2);
Tailwind
colors: {
  custom: {
    50: '#86b072',
    500: '#508f39',
    950: '#000000',
  },
}
SCSS
$custom: #508f39;
$custom-light: #86b072;
$custom-dark: #000000;
JSON
{
  "hex": "#508f39",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 57
  },
  "hsl": {
    "h": 103.953,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58791,
    "c": 0.13653,
    "h": 138.2
  },
  "luminance": 0.21646
}

Semantic roles & 50–950 ramp

primary
#508F39
secondary
#A171B3
accent
#55D3B1
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F39

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

Preview Lab → · Contrast checker → · Palette generator →

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