#508F3A#508F3A

#508F3A is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.8% C 0.136 H 138.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#508F3A
RGBrgb(80, 143, 58)
HSLhsl(104, 42%, 39%)
HSVhsv(104, 59%, 56%)
CMYKcmyk(44.1%, 0%, 59.4%, 43.9%)
CIE-LABlab(53.66, -36.86, 38.30)
CIE-LCHlch(53.66, 53.16, 133.91°)
OKLaboklab(58.8% -0.1014 0.0901)
OKLCHoklch(58.8% 0.136 138.4)
XYZxyz(13.8940, 21.6550, 7.4499)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F3A #793A8F
analogous
#7B8F3A #508F3A #3A8F4F
triadic
#508F3A #3A508F #8F3A50
tetradic
#508F3A #3A7B8F #793A8F #8F4F3A
square
#508F3A #3A7B8F #793A8F #8F4F3A
split-complementary
#508F3A #4F3A8F #8F3A7B
monochromatic
#1F3817 #386328 #508F3A #6AB74F #8FC97A

Accessibility & contrast

On white

3.94
#508F3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#508F3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F3A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F3A#FFFFFF#000000##000000
##508F3A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938431
Deuteranopia (green-blind)
#8B7E40
Tritanopia (blue-blind)
#4C8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f3a;
/* rgb */ color: rgb(80, 143, 58);
/* oklch */ color: oklch(58.8% 0.136 138.4);
Tailwind
colors: {
  custom: {
    50: '#86b073',
    500: '#508f3a',
    950: '#000000',
  },
}
SCSS
$custom: #508f3a;
$custom-light: #86b073;
$custom-dark: #000000;
JSON
{
  "hex": "#508f3a",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 58
  },
  "hsl": {
    "h": 104.471,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.13564,
    "h": 138.4
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#508F3A
secondary
#A272B3
accent
#56D2B2
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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