#508E4E#508E4E

#508E4E is a mid, moderate green. Relative luminance 0.216; OKLCH L 58.8% C 0.115 H 143.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#508E4E
RGBrgb(80, 142, 78)
HSLhsl(118, 29%, 43%)
HSVhsv(118, 45%, 56%)
CMYKcmyk(43.7%, 0%, 45.1%, 44.3%)
CIE-LABlab(53.60, -33.73, 27.94)
CIE-LCHlch(53.60, 43.80, 140.36°)
OKLaboklab(58.84% -0.0919 0.0684)
OKLCHoklch(58.84% 0.115 143.3)
XYZxyz(14.3557, 21.6006, 10.6191)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E4E #8C4E8E
analogous
#708E4E #508E4E #4E8E6C
triadic
#508E4E #4E508E #8E4E50
tetradic
#508E4E #4E708E #8C4E8E #8E6C4E
square
#508E4E #4E708E #8C4E8E #8E6C4E
split-complementary
#508E4E #6C4E8E #8E4E70
monochromatic
#233F23 #3A6638 #508E4E #6DAE6B #94C493

Accessibility & contrast

On white

3.95
#508E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#508E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E4E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E4E#FFFFFF#000000##000000
##508E4E1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#887E52
Tritanopia (blue-blind)
#498B7F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e4e;
/* rgb */ color: rgb(80, 142, 78);
/* oklch */ color: oklch(58.8% 0.115 143.3);
Tailwind
colors: {
  custom: {
    50: '#85af80',
    500: '#508e4e',
    950: '#000000',
  },
}
SCSS
$custom: #508e4e;
$custom-light: #85af80;
$custom-dark: #000000;
JSON
{
  "hex": "#508e4e",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 118.125,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.11456,
    "h": 143.3
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#508E4E
secondary
#AF88B0
accent
#62C5C2
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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