#508A39#508A39

#508A39 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.5% C 0.129 H 137.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#508A39
RGBrgb(80, 138, 57)
HSLhsl(103, 42%, 38%)
HSVhsv(103, 59%, 54%)
CMYKcmyk(42%, 0%, 58.7%, 45.9%)
CIE-LABlab(52.04, -34.76, 36.91)
CIE-LCHlch(52.04, 50.70, 133.28°)
OKLaboklab(57.47% -0.0957 0.087)
OKLCHoklch(57.47% 0.129 137.7)
XYZxyz(13.1349, 20.1771, 7.0726)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A39 #73398A
analogous
#788A39 #508A39 #398A4A
triadic
#508A39 #39508A #8A3950
tetradic
#508A39 #39788A #73398A #8A4A39
square
#508A39 #39788A #73398A #8A4A39
split-complementary
#508A39 #4A398A #8A3978
monochromatic
#1E3315 #375F27 #508A39 #69B54B #8DC777

Accessibility & contrast

On white

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

On black

5.04
#508A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A39
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A39#FFFFFF#000000##000000
##508A391.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508a39;
/* rgb */ color: rgb(80, 138, 57);
/* oklch */ color: oklch(57.5% 0.129 137.7);
Tailwind
colors: {
  custom: {
    50: '#85ac72',
    500: '#508a39',
    950: '#000000',
  },
}
SCSS
$custom: #508a39;
$custom-light: #85ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#508a39",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 102.963,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.12934,
    "h": 137.7
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#508A39
secondary
#9D6FB0
accent
#56D1AE
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A39

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

Preview Lab → · Contrast checker → · Palette generator →

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