#508F3E#508F3E

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

Color values

HEX#508F3E
RGBrgb(80, 143, 62)
HSLhsl(107, 40%, 40%)
HSVhsv(107, 57%, 56%)
CMYKcmyk(44.1%, 0%, 56.6%, 43.9%)
CIE-LABlab(53.70, -36.39, 36.39)
CIE-LCHlch(53.70, 51.46, 135.00°)
OKLaboklab(58.86% -0.0999 0.0863)
OKLCHoklch(58.86% 0.132 139.2)
XYZxyz(13.9997, 21.6973, 8.0068)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F3E #7D3E8F
analogous
#788F3E #508F3E #3E8F55
triadic
#508F3E #3E508F #8F3E50
tetradic
#508F3E #3E788F #7D3E8F #8F553E
square
#508F3E #3E788F #7D3E8F #8F553E
split-complementary
#508F3E #553E8F #8F3E78
monochromatic
#203A19 #38642B #508F3E #6AB555 #90C880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F3E#FFFFFF#000000##000000
##508F3E1.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)
#938436
Deuteranopia (green-blind)
#8A7E44
Tritanopia (blue-blind)
#4B8B7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f3e;
/* rgb */ color: rgb(80, 143, 62);
/* oklch */ color: oklch(58.9% 0.132 139.2);
Tailwind
colors: {
  custom: {
    50: '#85b076',
    500: '#508f3e',
    950: '#000000',
  },
}
SCSS
$custom: #508f3e;
$custom-light: #85b076;
$custom-dark: #000000;
JSON
{
  "hex": "#508f3e",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 106.667,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.13198,
    "h": 139.2
  },
  "luminance": 0.21698
}

Semantic roles & 50–950 ramp

primary
#508F3E
secondary
#A577B2
accent
#58CFB5
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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