#508E6C#508E6C

#508E6C is a mid, moderate green. Relative luminance 0.221; OKLCH L 59.5% C 0.084 H 158.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#508E6C
RGBrgb(80, 142, 108)
HSLhsl(147, 28%, 44%)
HSVhsv(147, 44%, 56%)
CMYKcmyk(43.7%, 0%, 23.9%, 44.3%)
CIE-LABlab(54.17, -28.18, 11.97)
CIE-LCHlch(54.17, 30.62, 156.99°)
OKLaboklab(59.49% -0.0777 0.0306)
OKLCHoklch(59.49% 0.084 158.5)
XYZxyz(15.6869, 22.1331, 17.6300)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E6C #8E5072
analogous
#538E50 #508E6C #508E8B
triadic
#508E6C #6C508E #8E6C50
tetradic
#508E6C #50538E #8E5072 #8E8B50
square
#508E6C #50538E #8E5072 #8E8B50
split-complementary
#508E6C #8B508E #8E5053
monochromatic
#244030 #3A674E #508E6C #6EAD8B #95C3AA

Accessibility & contrast

On white

3.87
#508E6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#508E6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E6C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E6C#FFFFFF#000000##000000
##508E6C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D866A
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#418D85
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508e6c;
/* rgb */ color: rgb(80, 142, 108);
/* oklch */ color: oklch(59.5% 0.084 158.5);
Tailwind
colors: {
  custom: {
    50: '#84af96',
    500: '#508e6c',
    950: '#000000',
  },
}
SCSS
$custom: #508e6c;
$custom-light: #84af96;
$custom-dark: #000000;
JSON
{
  "hex": "#508e6c",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 108
  },
  "hsl": {
    "h": 147.097,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59489,
    "c": 0.08357,
    "h": 158.5
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#508E6C
secondary
#B08A9F
accent
#6499C4
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100D
muted
#7C7F7E

Preview Lab

Preview with #508E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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