#508F3C#508F3C

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

Color values

HEX#508F3C
RGBrgb(80, 143, 60)
HSLhsl(106, 41%, 40%)
HSVhsv(106, 58%, 56%)
CMYKcmyk(44.1%, 0%, 58%, 43.9%)
CIE-LABlab(53.68, -36.63, 37.35)
CIE-LCHlch(53.68, 52.32, 134.44°)
OKLaboklab(58.83% -0.1006 0.0882)
OKLCHoklch(58.83% 0.134 138.8)
XYZxyz(13.9459, 21.6758, 7.7231)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F3C #7B3C8F
analogous
#7A8F3C #508F3C #3C8F51
triadic
#508F3C #3C508F #8F3C50
tetradic
#508F3C #3C7A8F #7B3C8F #8F513C
square
#508F3C #3C7A8F #7B3C8F #8F513C
split-complementary
#508F3C #513C8F #8F3C7A
monochromatic
#203918 #38642A #508F3C #6AB652 #8FC87D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F3C#FFFFFF#000000##000000
##508F3C1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938434
Deuteranopia (green-blind)
#8A7E42
Tritanopia (blue-blind)
#4C8A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f3c;
/* rgb */ color: rgb(80, 143, 60);
/* oklch */ color: oklch(58.8% 0.134 138.8);
Tailwind
colors: {
  custom: {
    50: '#86b074',
    500: '#508f3c',
    950: '#000000',
  },
}
SCSS
$custom: #508f3c;
$custom-light: #86b074;
$custom-dark: #000000;
JSON
{
  "hex": "#508f3c",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 60
  },
  "hsl": {
    "h": 105.542,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58829,
    "c": 0.13383,
    "h": 138.8
  },
  "luminance": 0.21677
}

Semantic roles & 50–950 ramp

primary
#508F3C
secondary
#A375B2
accent
#57D1B3
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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