#508B6D#508B6D

#508B6D is a mid, moderate green. Relative luminance 0.213; OKLCH L 58.8% C 0.078 H 160.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#508B6D
RGBrgb(80, 139, 109)
HSLhsl(149, 27%, 43%)
HSVhsv(149, 42%, 55%)
CMYKcmyk(42.4%, 0%, 21.6%, 45.5%)
CIE-LABlab(53.25, -26.49, 10.11)
CIE-LCHlch(53.25, 28.35, 159.12°)
OKLaboklab(58.75% -0.0734 0.0259)
OKLCHoklch(58.75% 0.078 160.5)
XYZxyz(15.3001, 21.2738, 17.7651)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B6D #8B506E
analogous
#508B50 #508B6D #508B8B
triadic
#508B6D #6D508B #8B6D50
tetradic
#508B6D #50508B #8B506E #8B8B50
square
#508B6D #50508B #8B506E #8B8B50
split-complementary
#508B6D #8B508B #8B5050
monochromatic
#233D30 #3A644F #508B6D #6DAB8C #94C1AA

Accessibility & contrast

On white

4.00
#508B6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#508B6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B6D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B6D#FFFFFF#000000##000000
##508B6D1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A836B
Deuteranopia (green-blind)
#807D6F
Tritanopia (blue-blind)
#418B83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508b6d;
/* rgb */ color: rgb(80, 139, 109);
/* oklch */ color: oklch(58.8% 0.078 160.5);
Tailwind
colors: {
  custom: {
    50: '#84ad96',
    500: '#508b6d',
    950: '#000000',
  },
}
SCSS
$custom: #508b6d;
$custom-light: #84ad96;
$custom-dark: #000000;
JSON
{
  "hex": "#508b6d",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 109
  },
  "hsl": {
    "h": 149.492,
    "s": 26.941,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.07789,
    "h": 160.5
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#508B6D
secondary
#AE899C
accent
#6595C3
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100D
muted
#7C7F7E

Preview Lab

Preview with #508B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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