#508A5D#508A5D

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

Color values

HEX#508A5D
RGBrgb(80, 138, 93)
HSLhsl(133, 27%, 43%)
HSVhsv(133, 42%, 54%)
CMYKcmyk(42%, 0%, 32.6%, 45.9%)
CIE-LABlab(52.59, -29.26, 18.31)
CIE-LCHlch(52.59, 34.52, 147.96°)
OKLaboklab(58.1% -0.0798 0.0462)
OKLCHoklch(58.1% 0.092 150)
XYZxyz(14.3717, 20.6718, 13.5866)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A5D #8A507D
analogous
#608A50 #508A5D #508A7A
triadic
#508A5D #5D508A #8A5D50
tetradic
#508A5D #50608A #8A507D #8A7A50
square
#508A5D #50608A #8A507D #8A7A50
split-complementary
#508A5D #7A508A #8A5060
monochromatic
#233D29 #3A6343 #508A5D #6DAA7B #94C19E

Accessibility & contrast

On white

4.09
#508A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508A5D#FFFFFF#000000##000000
##508A5D1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B815A
Deuteranopia (green-blind)
#827B60
Tritanopia (blue-blind)
#46887E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508a5d;
/* rgb */ color: rgb(80, 138, 93);
/* oklch */ color: oklch(58.1% 0.092 150.0);
Tailwind
colors: {
  custom: {
    50: '#84ac8b',
    500: '#508a5d',
    950: '#000000',
  },
}
SCSS
$custom: #508a5d;
$custom-light: #84ac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#508a5d",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 133.448,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.09223,
    "h": 150
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#508A5D
secondary
#AE88A5
accent
#65AEC3
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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