#508D47#508D47

#508D47 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.5% C 0.120 H 141.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508D47
RGBrgb(80, 141, 71)
HSLhsl(112, 33%, 42%)
HSVhsv(112, 50%, 55%)
CMYKcmyk(43.3%, 0%, 49.6%, 44.7%)
CIE-LABlab(53.18, -34.31, 31.14)
CIE-LCHlch(53.18, 46.33, 137.78°)
OKLaboklab(58.46% -0.0937 0.0753)
OKLCHoklch(58.46% 0.12 141.2)
XYZxyz(13.9699, 21.2093, 9.3177)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D47 #84478D
analogous
#738D47 #508D47 #478D61
triadic
#508D47 #47508D #8D4750
tetradic
#508D47 #47738D #84478D #8D6147
square
#508D47 #47738D #84478D #8D6147
split-complementary
#508D47 #61478D #8D4773
monochromatic
#223C1E #396433 #508D47 #6CB062 #92C48A

Accessibility & contrast

On white

4.01
#508D47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D47
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D47#FFFFFF#000000##000000
##508D471.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908241
Deuteranopia (green-blind)
#887D4C
Tritanopia (blue-blind)
#4A897D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d47;
/* rgb */ color: rgb(80, 141, 71);
/* oklch */ color: oklch(58.5% 0.120 141.2);
Tailwind
colors: {
  custom: {
    50: '#85af7c',
    500: '#508d47',
    950: '#000000',
  },
}
SCSS
$custom: #508d47;
$custom-light: #85af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#508d47",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 112.286,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.12023,
    "h": 141.2
  },
  "luminance": 0.2121
}

Semantic roles & 50–950 ramp

primary
#508D47
secondary
#AA80B0
accent
#5FC9BB
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D47

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

Preview Lab → · Contrast checker → · Palette generator →

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