#508D38#508D38

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

Color values

HEX#508D38
RGBrgb(80, 141, 56)
HSLhsl(103, 43%, 39%)
HSVhsv(103, 60%, 55%)
CMYKcmyk(43.3%, 0%, 60.3%, 44.7%)
CIE-LABlab(52.99, -36.21, 38.50)
CIE-LCHlch(52.99, 52.85, 133.24°)
OKLaboklab(58.25% -0.0997 0.0903)
OKLCHoklch(58.25% 0.135 137.8)
XYZxyz(13.5465, 21.0400, 7.0879)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D38 #75388D
analogous
#7A8D38 #508D38 #388D4A
triadic
#508D38 #38508D #8D3850
tetradic
#508D38 #387A8D #75388D #8D4A38
square
#508D38 #387A8D #75388D #8D4A38
split-complementary
#508D38 #4A388D #8D387A
monochromatic
#1E3515 #376127 #508D38 #69B74B #8EC977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D38#FFFFFF#000000##000000
##508D381.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)
#91822F
Deuteranopia (green-blind)
#897D3E
Tritanopia (blue-blind)
#4C887B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508d38;
/* rgb */ color: rgb(80, 141, 56);
/* oklch */ color: oklch(58.3% 0.135 137.8);
Tailwind
colors: {
  custom: {
    50: '#86af72',
    500: '#508d38',
    950: '#000000',
  },
}
SCSS
$custom: #508d38;
$custom-light: #86af72;
$custom-dark: #000000;
JSON
{
  "hex": "#508d38",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 103.059,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.13457,
    "h": 137.8
  },
  "luminance": 0.21041
}

Semantic roles & 50–950 ramp

primary
#508D38
secondary
#9F6FB2
accent
#55D3AF
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508D38

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

Preview Lab → · Contrast checker → · Palette generator →

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