#508F55#508F55

#508F55 is a mid, moderate green. Relative luminance 0.220; OKLCH L 59.2% C 0.109 H 145.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#508F55
RGBrgb(80, 143, 85)
HSLhsl(125, 28%, 44%)
HSVhsv(125, 44%, 56%)
CMYKcmyk(44.1%, 0%, 40.6%, 43.9%)
CIE-LABlab(54.03, -33.05, 24.69)
CIE-LCHlch(54.03, 41.26, 143.24°)
OKLaboklab(59.23% -0.0899 0.0612)
OKLCHoklch(59.23% 0.109 145.8)
XYZxyz(14.7696, 22.0053, 12.0618)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F55 #8F508A
analogous
#6A8F50 #508F55 #508F74
triadic
#508F55 #55508F #8F5550
tetradic
#508F55 #506A8F #8F508A #8F7450
square
#508F55 #506A8F #8F508A #8F7450
split-complementary
#508F55 #74508F #8F506A
monochromatic
#244126 #3A683E #508F55 #6EAE73 #95C499

Accessibility & contrast

On white

3.89
#508F55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#508F55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F55
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F55#FFFFFF#000000##000000
##508F551.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918551
Deuteranopia (green-blind)
#887F59
Tritanopia (blue-blind)
#478C81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f55;
/* rgb */ color: rgb(80, 143, 85);
/* oklch */ color: oklch(59.2% 0.109 145.8);
Tailwind
colors: {
  custom: {
    50: '#85b085',
    500: '#508f55',
    950: '#000000',
  },
}
SCSS
$custom: #508f55;
$custom-light: #85b085;
$custom-dark: #000000;
JSON
{
  "hex": "#508f55",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 85
  },
  "hsl": {
    "h": 124.762,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.10877,
    "h": 145.8
  },
  "luminance": 0.22006
}

Semantic roles & 50–950 ramp

primary
#508F55
secondary
#B18AAE
accent
#63BDC5
background
#F8FAF8
surface
#EFF5EF
border
#CACFCA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508F55

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

Preview Lab → · Contrast checker → · Palette generator →

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