#508F52#508F52

#508F52 is a mid, moderate green. Relative luminance 0.220; OKLCH L 59.2% C 0.112 H 144.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#508F52
RGBrgb(80, 143, 82)
HSLhsl(122, 28%, 44%)
HSVhsv(122, 44%, 56%)
CMYKcmyk(44.1%, 0%, 42.7%, 43.9%)
CIE-LABlab(53.98, -33.55, 26.27)
CIE-LCHlch(53.98, 42.61, 141.94°)
OKLaboklab(59.17% -0.0913 0.0647)
OKLCHoklch(59.17% 0.112 144.7)
XYZxyz(14.6530, 21.9587, 11.4473)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F52 #8F508D
analogous
#6D8F50 #508F52 #508F71
triadic
#508F52 #52508F #8F5250
tetradic
#508F52 #506D8F #8F508D #8F7150
square
#508F52 #506D8F #8F508D #8F7150
split-complementary
#508F52 #71508F #8F506D
monochromatic
#244125 #3A683B #508F52 #6EAE70 #95C497

Accessibility & contrast

On white

3.89
#508F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#508F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F52
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F52#FFFFFF#000000##000000
##508F521.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91854E
Deuteranopia (green-blind)
#887F56
Tritanopia (blue-blind)
#488C80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f52;
/* rgb */ color: rgb(80, 143, 82);
/* oklch */ color: oklch(59.2% 0.112 144.7);
Tailwind
colors: {
  custom: {
    50: '#85b083',
    500: '#508f52',
    950: '#000000',
  },
}
SCSS
$custom: #508f52;
$custom-light: #85b083;
$custom-dark: #000000;
JSON
{
  "hex": "#508f52",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 121.905,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.11192,
    "h": 144.7
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#508F52
secondary
#B18AAF
accent
#63C1C5
background
#F8FAF8
surface
#EFF5EF
border
#CACFCA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508F52

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

Preview Lab → · Contrast checker → · Palette generator →

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