#508D3B#508D3B

#508D3B is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.3% C 0.132 H 138.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#508D3B
RGBrgb(80, 141, 59)
HSLhsl(105, 41%, 39%)
HSVhsv(105, 58%, 55%)
CMYKcmyk(43.3%, 0%, 58.2%, 44.7%)
CIE-LABlab(53.03, -35.87, 37.08)
CIE-LCHlch(53.03, 51.59, 134.05°)
OKLaboklab(58.29% -0.0986 0.0875)
OKLCHoklch(58.29% 0.132 138.4)
XYZxyz(13.6221, 21.0702, 7.4860)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D3B #783B8D
analogous
#798D3B #508D3B #3B8D4F
triadic
#508D3B #3B508D #8D3B50
tetradic
#508D3B #3B798D #783B8D #8D4F3B
square
#508D3B #3B798D #783B8D #8D4F3B
split-complementary
#508D3B #4F3B8D #8D3B79
monochromatic
#1F3717 #386229 #508D3B #6AB650 #8EC87B

Accessibility & contrast

On white

4.03
#508D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#508D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D3B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D3B#FFFFFF#000000##000000
##508D3B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918233
Deuteranopia (green-blind)
#897D41
Tritanopia (blue-blind)
#4C887B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d3b;
/* rgb */ color: rgb(80, 141, 59);
/* oklch */ color: oklch(58.3% 0.132 138.4);
Tailwind
colors: {
  custom: {
    50: '#85af74',
    500: '#508d3b',
    950: '#000000',
  },
}
SCSS
$custom: #508d3b;
$custom-light: #85af74;
$custom-dark: #000000;
JSON
{
  "hex": "#508d3b",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 104.634,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.13186,
    "h": 138.4
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#508D3B
secondary
#A173B1
accent
#57D1B2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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