#508F4F#508F4F

#508F4F is a mid, moderate green. Relative luminance 0.219; OKLCH L 59.1% C 0.115 H 143.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#508F4F
RGBrgb(80, 143, 79)
HSLhsl(119, 29%, 44%)
HSVhsv(119, 45%, 56%)
CMYKcmyk(44.1%, 0%, 44.8%, 43.9%)
CIE-LABlab(53.94, -34.03, 27.83)
CIE-LCHlch(53.94, 43.96, 140.72°)
OKLaboklab(59.12% -0.0927 0.0682)
OKLCHoklch(59.12% 0.115 143.6)
XYZxyz(14.5413, 21.9140, 10.8592)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F4F #8E4F8F
analogous
#708F4F #508F4F #4F8F6E
triadic
#508F4F #4F508F #8F4F50
tetradic
#508F4F #4F708F #8E4F8F #8F6E4F
square
#508F4F #4F708F #8E4F8F #8F6E4F
split-complementary
#508F4F #6E4F8F #8F4F70
monochromatic
#244023 #3A6839 #508F4F #6EAE6D #95C494

Accessibility & contrast

On white

3.90
#508F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#508F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F4F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F4F#FFFFFF#000000##000000
##508F4F1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92854A
Deuteranopia (green-blind)
#887F53
Tritanopia (blue-blind)
#488C80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f4f;
/* rgb */ color: rgb(80, 143, 79);
/* oklch */ color: oklch(59.1% 0.115 143.6);
Tailwind
colors: {
  custom: {
    50: '#85b081',
    500: '#508f4f',
    950: '#000000',
  },
}
SCSS
$custom: #508f4f;
$custom-light: #85b081;
$custom-dark: #000000;
JSON
{
  "hex": "#508f4f",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 119.063,
    "s": 28.829,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.11507,
    "h": 143.6
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#508F4F
secondary
#B089B1
accent
#63C5C4
background
#F8FAF7
surface
#EFF5EE
border
#CACFC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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