#508D56#508D56

#508D56 is a mid, moderate green. Relative luminance 0.214; OKLCH L 58.7% C 0.105 H 146.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#508D56
RGBrgb(80, 141, 86)
HSLhsl(126, 28%, 43%)
HSVhsv(126, 43%, 55%)
CMYKcmyk(43.3%, 0%, 39%, 44.7%)
CIE-LABlab(53.41, -31.95, 23.33)
CIE-LCHlch(53.41, 39.56, 143.87°)
OKLaboklab(58.73% -0.087 0.058)
OKLCHoklch(58.73% 0.105 146.3)
XYZxyz(14.5121, 21.4262, 12.1733)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D56 #8D5087
analogous
#688D50 #508D56 #508D74
triadic
#508D56 #56508D #8D5650
tetradic
#508D56 #50688D #8D5087 #8D7450
square
#508D56 #50688D #8D5087 #8D7450
split-complementary
#508D56 #74508D #8D5068
monochromatic
#243F26 #3A663E #508D56 #6EAD74 #95C399

Accessibility & contrast

On white

3.97
#508D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#508D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D56
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D56#FFFFFF#000000##000000
##508D561.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8352
Deuteranopia (green-blind)
#867D59
Tritanopia (blue-blind)
#478A7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508d56;
/* rgb */ color: rgb(80, 141, 86);
/* oklch */ color: oklch(58.7% 0.105 146.3);
Tailwind
colors: {
  custom: {
    50: '#84af86',
    500: '#508d56',
    950: '#000000',
  },
}
SCSS
$custom: #508d56;
$custom-light: #84af86;
$custom-dark: #000000;
JSON
{
  "hex": "#508d56",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 125.902,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.10453,
    "h": 146.3
  },
  "luminance": 0.21427
}

Semantic roles & 50–950 ramp

primary
#508D56
secondary
#AF89AC
accent
#64BAC4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508D56

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

Preview Lab → · Contrast checker → · Palette generator →

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