#508C4B#508C4B

#508C4B is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.3% C 0.115 H 142.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#508C4B
RGBrgb(80, 140, 75)
HSLhsl(115, 30%, 42%)
HSVhsv(115, 46%, 55%)
CMYKcmyk(42.9%, 0%, 46.4%, 45.1%)
CIE-LABlab(52.92, -33.27, 28.68)
CIE-LCHlch(52.92, 43.93, 139.23°)
OKLaboklab(58.27% -0.0907 0.07)
OKLCHoklch(58.27% 0.115 142.3)
XYZxyz(13.9557, 20.9688, 9.9673)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C4B #874B8C
analogous
#718C4B #508C4B #4B8C67
triadic
#508C4B #4B508C #8C4B50
tetradic
#508C4B #4B718C #874B8C #8C674B
square
#508C4B #4B718C #874B8C #8C674B
split-complementary
#508C4B #674B8C #8C4B71
monochromatic
#223C20 #396436 #508C4B #6CAD67 #93C38F

Accessibility & contrast

On white

4.04
#508C4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#508C4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C4B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C4B#FFFFFF#000000##000000
##508C4B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#867C4F
Tritanopia (blue-blind)
#4A897C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c4b;
/* rgb */ color: rgb(80, 140, 75);
/* oklch */ color: oklch(58.3% 0.115 142.3);
Tailwind
colors: {
  custom: {
    50: '#85ae7e',
    500: '#508c4b',
    950: '#000000',
  },
}
SCSS
$custom: #508c4b;
$custom-light: #85ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508c4b",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 75
  },
  "hsl": {
    "h": 115.385,
    "s": 30.233,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.11458,
    "h": 142.3
  },
  "luminance": 0.2097
}

Semantic roles & 50–950 ramp

primary
#508C4B
secondary
#AC84AF
accent
#61C6BF
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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