#508B3F#508B3F

#508B3F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.8% C 0.125 H 139.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#508B3F
RGBrgb(80, 139, 63)
HSLhsl(107, 38%, 40%)
HSVhsv(107, 55%, 55%)
CMYKcmyk(42.4%, 0%, 54.7%, 45.5%)
CIE-LABlab(52.43, -34.48, 34.37)
CIE-LCHlch(52.43, 48.69, 135.09°)
OKLaboklab(57.82% -0.0946 0.082)
OKLCHoklch(57.82% 0.125 139.1)
XYZxyz(13.4376, 20.5288, 7.9561)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B3F #7A3F8B
analogous
#768B3F #508B3F #3F8B54
triadic
#508B3F #3F508B #8B3F50
tetradic
#508B3F #3F768B #7A3F8B #8B543F
square
#508B3F #3F768B #7A3F8B #8B543F
split-complementary
#508B3F #543F8B #8B3F76
monochromatic
#203719 #38612C #508B3F #6AB255 #8FC57F

Accessibility & contrast

On white

4.11
#508B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#508B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B3F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B3F#FFFFFF#000000##000000
##508B3F1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8038
Deuteranopia (green-blind)
#877B44
Tritanopia (blue-blind)
#4C877A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b3f;
/* rgb */ color: rgb(80, 139, 63);
/* oklch */ color: oklch(57.8% 0.125 139.1);
Tailwind
colors: {
  custom: {
    50: '#85ad76',
    500: '#508b3f',
    950: '#000000',
  },
}
SCSS
$custom: #508b3f;
$custom-light: #85ad76;
$custom-dark: #000000;
JSON
{
  "hex": "#508b3f",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 106.579,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.12516,
    "h": 139.1
  },
  "luminance": 0.2053
}

Semantic roles & 50–950 ramp

primary
#508B3F
secondary
#A376AF
accent
#5ACEB4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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