#508D3C#508D3C

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

Color values

HEX#508D3C
RGBrgb(80, 141, 60)
HSLhsl(105, 40%, 39%)
HSVhsv(105, 57%, 55%)
CMYKcmyk(43.3%, 0%, 57.4%, 44.7%)
CIE-LABlab(53.04, -35.75, 36.60)
CIE-LCHlch(53.04, 51.16, 134.33°)
OKLaboklab(58.3% -0.0982 0.0866)
OKLCHoklch(58.3% 0.131 138.6)
XYZxyz(13.6483, 21.0807, 7.6239)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D3C #793C8D
analogous
#798D3C #508D3C #3C8D50
triadic
#508D3C #3C508D #8D3C50
tetradic
#508D3C #3C798D #793C8D #8D503C
square
#508D3C #3C798D #793C8D #8D503C
split-complementary
#508D3C #503C8D #8D3C79
monochromatic
#1F3717 #38622A #508D3C #6AB551 #8FC77C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D3C#FFFFFF#000000##000000
##508D3C1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918234
Deuteranopia (green-blind)
#897D42
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d3c;
/* rgb */ color: rgb(80, 141, 60);
/* oklch */ color: oklch(58.3% 0.131 138.6);
Tailwind
colors: {
  custom: {
    50: '#85af74',
    500: '#508d3c',
    950: '#000000',
  },
}
SCSS
$custom: #508d3c;
$custom-light: #85af74;
$custom-dark: #000000;
JSON
{
  "hex": "#508d3c",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 105.185,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.13094,
    "h": 138.6
  },
  "luminance": 0.21081
}

Semantic roles & 50–950 ramp

primary
#508D3C
secondary
#A274B1
accent
#58D0B2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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