#508D3D#508D3D

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

Color values

HEX#508D3D
RGBrgb(80, 141, 61)
HSLhsl(106, 40%, 40%)
HSVhsv(106, 57%, 55%)
CMYKcmyk(43.3%, 0%, 56.7%, 44.7%)
CIE-LABlab(53.05, -35.63, 36.11)
CIE-LCHlch(53.05, 50.73, 134.61°)
OKLaboklab(58.32% -0.0978 0.0856)
OKLCHoklch(58.32% 0.13 138.8)
XYZxyz(13.6750, 21.0913, 7.7644)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D3D #7A3D8D
analogous
#788D3D #508D3D #3D8D52
triadic
#508D3D #3D508D #8D3D50
tetradic
#508D3D #3D788D #7A3D8D #8D523D
square
#508D3D #3D788D #7A3D8D #8D523D
split-complementary
#508D3D #523D8D #8D3D78
monochromatic
#203818 #38622B #508D3D #6AB453 #8FC77D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D3D#FFFFFF#000000##000000
##508D3D1.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)
#918235
Deuteranopia (green-blind)
#887D43
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d3d;
/* rgb */ color: rgb(80, 141, 61);
/* oklch */ color: oklch(58.3% 0.130 138.8);
Tailwind
colors: {
  custom: {
    50: '#85af75',
    500: '#508d3d',
    950: '#000000',
  },
}
SCSS
$custom: #508d3d;
$custom-light: #85af75;
$custom-dark: #000000;
JSON
{
  "hex": "#508d3d",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 105.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58316,
    "c": 0.13001,
    "h": 138.8
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#508D3D
secondary
#A375B1
accent
#58CFB3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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