#508F50#508F50

#508F50 is a mid, moderate green. Relative luminance 0.219; OKLCH L 59.1% C 0.114 H 144.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#508F50
RGBrgb(80, 143, 80)
HSLhsl(120, 28%, 44%)
HSVhsv(120, 44%, 56%)
CMYKcmyk(44.1%, 0%, 44.1%, 43.9%)
CIE-LABlab(53.95, -33.87, 27.31)
CIE-LCHlch(53.95, 43.51, 141.12°)
OKLaboklab(59.14% -0.0922 0.0671)
OKLCHoklch(59.14% 0.114 144)
XYZxyz(14.5780, 21.9287, 11.0524)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F50 #8F508F
analogous
#6F8F50 #508F50 #508F6F
triadic
#508F50 #50508F #8F5050
tetradic
#508F50 #506F8F #8F508F #8F6F50
square
#508F50 #506F8F #8F508F #8F6F50
split-complementary
#508F50 #6F508F #8F506F
monochromatic
#244124 #3A683A #508F50 #6EAE6E #95C495

Accessibility & contrast

On white

3.90
#508F50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#508F50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F50
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F50#FFFFFF#000000##000000
##508F501.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854B
Deuteranopia (green-blind)
#887F54
Tritanopia (blue-blind)
#488C80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f50;
/* rgb */ color: rgb(80, 143, 80);
/* oklch */ color: oklch(59.1% 0.114 144.0);
Tailwind
colors: {
  custom: {
    50: '#85b082',
    500: '#508f50',
    950: '#000000',
  },
}
SCSS
$custom: #508f50;
$custom-light: #85b082;
$custom-dark: #000000;
JSON
{
  "hex": "#508f50",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 80
  },
  "hsl": {
    "h": 120,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.11403,
    "h": 144
  },
  "luminance": 0.2193
}

Semantic roles & 50–950 ramp

primary
#508F50
secondary
#B18AB1
accent
#63C5C5
background
#F8FAF8
surface
#EFF5EF
border
#CACFCA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508F50

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

Preview Lab → · Contrast checker → · Palette generator →

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