#508D52#508D52

#508D52 is a mid, moderate green. Relative luminance 0.214; OKLCH L 58.7% C 0.109 H 144.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#508D52
RGBrgb(80, 141, 82)
HSLhsl(122, 28%, 43%)
HSVhsv(122, 43%, 55%)
CMYKcmyk(43.3%, 0%, 41.8%, 44.7%)
CIE-LABlab(53.34, -32.63, 25.44)
CIE-LCHlch(53.34, 41.37, 142.06°)
OKLaboklab(58.65% -0.0888 0.0628)
OKLCHoklch(58.65% 0.109 144.7)
XYZxyz(14.3554, 21.3635, 11.3481)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D52 #8D508B
analogous
#6C8D50 #508D52 #508D70
triadic
#508D52 #52508D #8D5250
tetradic
#508D52 #506C8D #8D508B #8D7050
square
#508D52 #506C8D #8D508B #8D7050
split-complementary
#508D52 #70508D #8D506C
monochromatic
#243F25 #3A663B #508D52 #6EAD70 #95C396

Accessibility & contrast

On white

3.98
#508D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#508D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D52
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D52#FFFFFF#000000##000000
##508D521.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#867D56
Tritanopia (blue-blind)
#488A7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d52;
/* rgb */ color: rgb(80, 141, 82);
/* oklch */ color: oklch(58.7% 0.109 144.7);
Tailwind
colors: {
  custom: {
    50: '#84af83',
    500: '#508d52',
    950: '#000000',
  },
}
SCSS
$custom: #508d52;
$custom-light: #84af83;
$custom-dark: #000000;
JSON
{
  "hex": "#508d52",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 121.967,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.58654,
    "c": 0.10879,
    "h": 144.7
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#508D52
secondary
#AF89AE
accent
#64C1C4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508D52

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

Preview Lab → · Contrast checker → · Palette generator →

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