#508D42#508D42

#508D42 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.4% C 0.125 H 139.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#508D42
RGBrgb(80, 141, 66)
HSLhsl(109, 36%, 41%)
HSVhsv(109, 53%, 55%)
CMYKcmyk(43.3%, 0%, 53.2%, 44.7%)
CIE-LABlab(53.11, -34.99, 33.66)
CIE-LCHlch(53.11, 48.55, 136.12°)
OKLaboklab(58.39% -0.0958 0.0806)
OKLCHoklch(58.39% 0.125 139.9)
XYZxyz(13.8160, 21.1477, 8.5071)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D42 #7F428D
analogous
#758D42 #508D42 #428D59
triadic
#508D42 #42508D #8D4250
tetradic
#508D42 #42758D #7F428D #8D5942
square
#508D42 #42758D #7F428D #8D5942
split-complementary
#508D42 #59428D #8D4275
monochromatic
#213A1B #38632E #508D42 #6BB25A #90C584

Accessibility & contrast

On white

4.02
#508D42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#508D42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D42
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D42#FFFFFF#000000##000000
##508D421.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91823B
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#4B897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d42;
/* rgb */ color: rgb(80, 141, 66);
/* oklch */ color: oklch(58.4% 0.125 139.9);
Tailwind
colors: {
  custom: {
    50: '#85af78',
    500: '#508d42',
    950: '#000000',
  },
}
SCSS
$custom: #508d42;
$custom-light: #85af78;
$custom-dark: #000000;
JSON
{
  "hex": "#508d42",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 66
  },
  "hsl": {
    "h": 108.8,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.12522,
    "h": 139.9
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#508D42
secondary
#A67BB0
accent
#5CCCB7
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D42

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

Preview Lab → · Contrast checker → · Palette generator →

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