#508D3E#508D3E

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

Color values

HEX#508D3E
RGBrgb(80, 141, 62)
HSLhsl(106, 39%, 40%)
HSVhsv(106, 56%, 55%)
CMYKcmyk(43.3%, 0%, 56%, 44.7%)
CIE-LABlab(53.06, -35.50, 35.63)
CIE-LCHlch(53.06, 50.30, 134.90°)
OKLaboklab(58.33% -0.0974 0.0846)
OKLCHoklch(58.33% 0.129 139)
XYZxyz(13.7022, 21.1022, 7.9076)
Luminance0.2110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D3E #7B3E8D
analogous
#788D3E #508D3E #3E8D54
triadic
#508D3E #3E508D #8D3E50
tetradic
#508D3E #3E788D #7B3E8D #8D543E
square
#508D3E #3E788D #7B3E8D #8D543E
split-complementary
#508D3E #543E8D #8D3E78
monochromatic
#203819 #38622B #508D3E #6AB454 #8FC77F

Accessibility & contrast

On white

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

On black

5.22
#508D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D3E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D3E#FFFFFF#000000##000000
##508D3E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918237
Deuteranopia (green-blind)
#887D44
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d3e;
/* rgb */ color: rgb(80, 141, 62);
/* oklch */ color: oklch(58.3% 0.129 139.0);
Tailwind
colors: {
  custom: {
    50: '#85af75',
    500: '#508d3e',
    950: '#000000',
  },
}
SCSS
$custom: #508d3e;
$custom-light: #85af75;
$custom-dark: #000000;
JSON
{
  "hex": "#508d3e",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 106.329,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.12906,
    "h": 139
  },
  "luminance": 0.21103
}

Semantic roles & 50–950 ramp

primary
#508D3E
secondary
#A376B1
accent
#59CFB4
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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