#508D3F#508D3F

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

Color values

HEX#508D3F
RGBrgb(80, 141, 63)
HSLhsl(107, 38%, 40%)
HSVhsv(107, 55%, 55%)
CMYKcmyk(43.3%, 0%, 55.3%, 44.7%)
CIE-LABlab(53.07, -35.38, 35.14)
CIE-LCHlch(53.07, 49.86, 135.20°)
OKLaboklab(58.34% -0.097 0.0837)
OKLCHoklch(58.34% 0.128 139.2)
XYZxyz(13.7299, 21.1133, 8.0535)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D3F #7C3F8D
analogous
#778D3F #508D3F #3F8D55
triadic
#508D3F #3F508D #8D3F50
tetradic
#508D3F #3F778D #7C3F8D #8D553F
square
#508D3F #3F778D #7C3F8D #8D553F
split-complementary
#508D3F #553F8D #8D3F77
monochromatic
#203819 #38632C #508D3F #6AB356 #8FC680

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D3F#FFFFFF#000000##000000
##508D3F1.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)
#918238
Deuteranopia (green-blind)
#887D44
Tritanopia (blue-blind)
#4C897B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d3f;
/* rgb */ color: rgb(80, 141, 63);
/* oklch */ color: oklch(58.3% 0.128 139.2);
Tailwind
colors: {
  custom: {
    50: '#85af76',
    500: '#508d3f',
    950: '#000000',
  },
}
SCSS
$custom: #508d3f;
$custom-light: #85af76;
$custom-dark: #000000;
JSON
{
  "hex": "#508d3f",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 106.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.12811,
    "h": 139.2
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#508D3F
secondary
#A477B1
accent
#5ACEB5
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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