#508C4D#508C4D

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

Color values

HEX#508C4D
RGBrgb(80, 140, 77)
HSLhsl(117, 29%, 43%)
HSVhsv(117, 45%, 55%)
CMYKcmyk(42.9%, 0%, 45%, 45.1%)
CIE-LABlab(52.95, -32.96, 27.64)
CIE-LCHlch(52.95, 43.02, 140.01°)
OKLaboklab(58.3% -0.0898 0.0677)
OKLCHoklch(58.3% 0.112 143)
XYZxyz(14.0253, 20.9966, 10.3335)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C4D #894D8C
analogous
#6F8C4D #508C4D #4D8C6A
triadic
#508C4D #4D508C #8C4D50
tetradic
#508C4D #4D6F8C #894D8C #8C6A4D
square
#508C4D #4D6F8C #894D8C #8C6A4D
split-complementary
#508C4D #6A4D8C #8C4D6F
monochromatic
#233D22 #396537 #508C4D #6DAD69 #93C291

Accessibility & contrast

On white

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

On black

5.20
#508C4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C4D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C4D#FFFFFF#000000##000000
##508C4D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8248
Deuteranopia (green-blind)
#867C51
Tritanopia (blue-blind)
#49897D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c4d;
/* rgb */ color: rgb(80, 140, 77);
/* oklch */ color: oklch(58.3% 0.112 143.0);
Tailwind
colors: {
  custom: {
    50: '#85ae80',
    500: '#508c4d',
    950: '#000000',
  },
}
SCSS
$custom: #508c4d;
$custom-light: #85ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#508c4d",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 77
  },
  "hsl": {
    "h": 117.143,
    "s": 29.032,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58302,
    "c": 0.11249,
    "h": 143
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#508C4D
secondary
#AD86AF
accent
#62C5C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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