#508C4E#508C4E

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

Color values

HEX#508C4E
RGBrgb(80, 140, 78)
HSLhsl(118, 28%, 43%)
HSVhsv(118, 44%, 55%)
CMYKcmyk(42.9%, 0%, 44.3%, 45.1%)
CIE-LABlab(52.96, -32.81, 27.12)
CIE-LCHlch(52.96, 42.57, 140.42°)
OKLaboklab(58.32% -0.0894 0.0666)
OKLCHoklch(58.32% 0.111 143.3)
XYZxyz(14.0608, 21.0108, 10.5208)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C4E #8A4E8C
analogous
#6F8C4E #508C4E #4E8C6B
triadic
#508C4E #4E508C #8C4E50
tetradic
#508C4E #4E6F8C #8A4E8C #8C6B4E
square
#508C4E #4E6F8C #8A4E8C #8C6B4E
split-complementary
#508C4E #6B4E8C #8C4E6F
monochromatic
#233D22 #3A6538 #508C4E #6DAC6B #94C292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508C4E#FFFFFF#000000##000000
##508C4E1.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)
#8F8249
Deuteranopia (green-blind)
#867C52
Tritanopia (blue-blind)
#49897D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c4e;
/* rgb */ color: rgb(80, 140, 78);
/* oklch */ color: oklch(58.3% 0.111 143.3);
Tailwind
colors: {
  custom: {
    50: '#84ae80',
    500: '#508c4e',
    950: '#000000',
  },
}
SCSS
$custom: #508c4e;
$custom-light: #84ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#508c4e",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 118.065,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.11144,
    "h": 143.3
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#508C4E
secondary
#AE87AF
accent
#63C5C2
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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