#508F3F#508F3F

#508F3F is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.9% C 0.131 H 139.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#508F3F
RGBrgb(80, 143, 63)
HSLhsl(107, 39%, 40%)
HSVhsv(107, 56%, 56%)
CMYKcmyk(44.1%, 0%, 55.9%, 43.9%)
CIE-LABlab(53.72, -36.27, 35.90)
CIE-LCHlch(53.72, 51.04, 135.29°)
OKLaboklab(58.87% -0.0995 0.0853)
OKLCHoklch(58.87% 0.131 139.4)
XYZxyz(14.0274, 21.7084, 8.1527)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F3F #7E3F8F
analogous
#788F3F #508F3F #3F8F56
triadic
#508F3F #3F508F #8F3F50
tetradic
#508F3F #3F788F #7E3F8F #8F563F
square
#508F3F #3F788F #7E3F8F #8F563F
split-complementary
#508F3F #563F8F #8F3F78
monochromatic
#203A1A #38652C #508F3F #6AB556 #90C781

Accessibility & contrast

On white

3.93
#508F3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#508F3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F3F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F3F#FFFFFF#000000##000000
##508F3F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938437
Deuteranopia (green-blind)
#8A7E45
Tritanopia (blue-blind)
#4B8B7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f3f;
/* rgb */ color: rgb(80, 143, 63);
/* oklch */ color: oklch(58.9% 0.131 139.4);
Tailwind
colors: {
  custom: {
    50: '#85b076',
    500: '#508f3f',
    950: '#000000',
  },
}
SCSS
$custom: #508f3f;
$custom-light: #85b076;
$custom-dark: #000000;
JSON
{
  "hex": "#508f3f",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 63
  },
  "hsl": {
    "h": 107.25,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.13105,
    "h": 139.4
  },
  "luminance": 0.21709
}

Semantic roles & 50–950 ramp

primary
#508F3F
secondary
#A578B2
accent
#59CFB6
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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