#508C6B#508C6B

#508C6B is a mid, moderate green. Relative luminance 0.215; OKLCH L 59.0% C 0.081 H 158.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508C6B
RGBrgb(80, 140, 107)
HSLhsl(147, 27%, 43%)
HSVhsv(147, 43%, 55%)
CMYKcmyk(42.9%, 0%, 23.6%, 45.1%)
CIE-LABlab(53.52, -27.42, 11.63)
CIE-LCHlch(53.52, 29.78, 157.01°)
OKLaboklab(58.95% -0.0757 0.0298)
OKLCHoklch(58.95% 0.081 158.5)
XYZxyz(15.3391, 21.5221, 17.2530)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C6B #8C5071
analogous
#538C50 #508C6B #508C89
triadic
#508C6B #6B508C #8C6B50
tetradic
#508C6B #50538C #8C5071 #8C8950
square
#508C6B #50538C #8C5071 #8C8950
split-complementary
#508C6B #89508C #8C5053
monochromatic
#233E2F #3A654D #508C6B #6DAC89 #94C2A9

Accessibility & contrast

On white

3.96
#508C6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508C6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C6B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C6B#FFFFFF#000000##000000
##508C6B1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8469
Deuteranopia (green-blind)
#827D6D
Tritanopia (blue-blind)
#428B83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508c6b;
/* rgb */ color: rgb(80, 140, 107);
/* oklch */ color: oklch(59.0% 0.081 158.5);
Tailwind
colors: {
  custom: {
    50: '#84ae95',
    500: '#508c6b',
    950: '#000000',
  },
}
SCSS
$custom: #508c6b;
$custom-light: #84ae95;
$custom-dark: #000000;
JSON
{
  "hex": "#508c6b",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 107
  },
  "hsl": {
    "h": 147,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.08133,
    "h": 158.5
  },
  "luminance": 0.21523
}

Semantic roles & 50–950 ramp

primary
#508C6B
secondary
#AF899E
accent
#6499C4
background
#F8FAF9
surface
#EFF4F1
border
#CACECB
text
#0B100D
muted
#7C7F7E

Preview Lab

Preview with #508C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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