#508F56#508F56

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

Color values

HEX#508F56
RGBrgb(80, 143, 86)
HSLhsl(126, 28%, 44%)
HSVhsv(126, 44%, 56%)
CMYKcmyk(44.1%, 0%, 39.9%, 43.9%)
CIE-LABlab(54.05, -32.88, 24.17)
CIE-LCHlch(54.05, 40.81, 143.69°)
OKLaboklab(59.25% -0.0895 0.06)
OKLCHoklch(59.25% 0.108 146.2)
XYZxyz(14.8097, 22.0213, 12.2725)
Luminance0.2202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F56 #8F5089
analogous
#698F50 #508F56 #508F75
triadic
#508F56 #56508F #8F5650
tetradic
#508F56 #50698F #8F5089 #8F7550
square
#508F56 #50698F #8F5089 #8F7550
split-complementary
#508F56 #75508F #8F5069
monochromatic
#244127 #3A683E #508F56 #6EAE74 #95C49A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F56#FFFFFF#000000##000000
##508F561.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)
#918552
Deuteranopia (green-blind)
#887F59
Tritanopia (blue-blind)
#478C81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f56;
/* rgb */ color: rgb(80, 143, 86);
/* oklch */ color: oklch(59.3% 0.108 146.2);
Tailwind
colors: {
  custom: {
    50: '#85b086',
    500: '#508f56',
    950: '#000000',
  },
}
SCSS
$custom: #508f56;
$custom-light: #85b086;
$custom-dark: #000000;
JSON
{
  "hex": "#508f56",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 125.714,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.10771,
    "h": 146.2
  },
  "luminance": 0.22022
}

Semantic roles & 50–950 ramp

primary
#508F56
secondary
#B18AAD
accent
#63BBC5
background
#F8FAF8
surface
#EFF5EF
border
#CACFCA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508F56

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

Preview Lab → · Contrast checker → · Palette generator →

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