#508A5B#508A5B

#508A5B is a mid, moderate green. Relative luminance 0.206; OKLCH L 58.1% C 0.094 H 148.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#508A5B
RGBrgb(80, 138, 91)
HSLhsl(131, 27%, 43%)
HSVhsv(131, 42%, 54%)
CMYKcmyk(42%, 0%, 34.1%, 45.9%)
CIE-LABlab(52.55, -29.64, 19.39)
CIE-LCHlch(52.55, 35.42, 146.81°)
OKLaboklab(58.06% -0.0808 0.0488)
OKLCHoklch(58.06% 0.094 148.9)
XYZxyz(14.2843, 20.6369, 13.1261)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A5B #8A507F
analogous
#628A50 #508A5B #508A78
triadic
#508A5B #5B508A #8A5B50
tetradic
#508A5B #50628A #8A507F #8A7850
square
#508A5B #50628A #8A507F #8A7850
split-complementary
#508A5B #78508A #8A5062
monochromatic
#233D28 #3A6341 #508A5B #6DAA79 #94C19C

Accessibility & contrast

On white

4.10
#508A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#508A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A5B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A5B#FFFFFF#000000##000000
##508A5B1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8158
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#47887E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508a5b;
/* rgb */ color: rgb(80, 138, 91);
/* oklch */ color: oklch(58.1% 0.094 148.9);
Tailwind
colors: {
  custom: {
    50: '#84ac89',
    500: '#508a5b',
    950: '#000000',
  },
}
SCSS
$custom: #508a5b;
$custom-light: #84ac89;
$custom-dark: #000000;
JSON
{
  "hex": "#508a5b",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 131.379,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.09436,
    "h": 148.9
  },
  "luminance": 0.20638
}

Semantic roles & 50–950 ramp

primary
#508A5B
secondary
#AE88A6
accent
#65B1C3
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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