#508C55#508C55

#508C55 is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.5% C 0.104 H 145.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#508C55
RGBrgb(80, 140, 85)
HSLhsl(125, 27%, 43%)
HSVhsv(125, 43%, 55%)
CMYKcmyk(42.9%, 0%, 39.3%, 45.1%)
CIE-LABlab(53.08, -31.66, 23.44)
CIE-LCHlch(53.08, 39.39, 143.48°)
OKLaboklab(58.45% -0.0862 0.0583)
OKLCHoklch(58.45% 0.104 145.9)
XYZxyz(14.3253, 21.1166, 11.9136)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C55 #8C5087
analogous
#698C50 #508C55 #508C73
triadic
#508C55 #55508C #8C5550
tetradic
#508C55 #50698C #8C5087 #8C7350
square
#508C55 #50698C #8C5087 #8C7350
split-complementary
#508C55 #73508C #8C5069
monochromatic
#233E26 #3A653D #508C55 #6DAC73 #94C298

Accessibility & contrast

On white

4.02
#508C55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#508C55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C55
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C55#FFFFFF#000000##000000
##508C551.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8251
Deuteranopia (green-blind)
#857C58
Tritanopia (blue-blind)
#48897E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508c55;
/* rgb */ color: rgb(80, 140, 85);
/* oklch */ color: oklch(58.5% 0.104 145.9);
Tailwind
colors: {
  custom: {
    50: '#84ae85',
    500: '#508c55',
    950: '#000000',
  },
}
SCSS
$custom: #508c55;
$custom-light: #84ae85;
$custom-dark: #000000;
JSON
{
  "hex": "#508c55",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 85
  },
  "hsl": {
    "h": 125,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.104,
    "h": 145.9
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508C55

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

Preview Lab → · Contrast checker → · Palette generator →

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