#508E55#508E55

#508E55 is a mid, moderate green. Relative luminance 0.217; OKLCH L 59.0% C 0.107 H 145.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#508E55
RGBrgb(80, 142, 85)
HSLhsl(125, 28%, 44%)
HSVhsv(125, 44%, 56%)
CMYKcmyk(43.7%, 0%, 40.1%, 44.3%)
CIE-LABlab(53.71, -32.59, 24.28)
CIE-LCHlch(53.71, 40.64, 143.32°)
OKLaboklab(58.97% -0.0887 0.0602)
OKLCHoklch(58.97% 0.107 145.8)
XYZxyz(14.6202, 21.7064, 12.0119)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E55 #8E5089
analogous
#6A8E50 #508E55 #508E74
triadic
#508E55 #55508E #8E5550
tetradic
#508E55 #506A8E #8E5089 #8E7450
square
#508E55 #506A8E #8E5089 #8E7450
split-complementary
#508E55 #74508E #8E506A
monochromatic
#244026 #3A673E #508E55 #6EAD73 #95C399

Accessibility & contrast

On white

3.93
#508E55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#508E55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E55
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E55#FFFFFF#000000##000000
##508E551.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908451
Deuteranopia (green-blind)
#877E58
Tritanopia (blue-blind)
#478B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e55;
/* rgb */ color: rgb(80, 142, 85);
/* oklch */ color: oklch(59.0% 0.107 145.8);
Tailwind
colors: {
  custom: {
    50: '#85af85',
    500: '#508e55',
    950: '#000000',
  },
}
SCSS
$custom: #508e55;
$custom-light: #85af85;
$custom-dark: #000000;
JSON
{
  "hex": "#508e55",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 85
  },
  "hsl": {
    "h": 124.839,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.58971,
    "c": 0.10719,
    "h": 145.8
  },
  "luminance": 0.21707
}

Semantic roles & 50–950 ramp

primary
#508E55
secondary
#B08AAD
accent
#64BCC4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508E55

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

Preview Lab → · Contrast checker → · Palette generator →

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