#508F31#508F31

#508F31 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.7% C 0.143 H 136.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#508F31
RGBrgb(80, 143, 49)
HSLhsl(100, 49%, 38%)
HSVhsv(100, 66%, 56%)
CMYKcmyk(44.1%, 0%, 65.7%, 43.9%)
CIE-LABlab(53.57, -37.81, 42.40)
CIE-LCHlch(53.57, 56.80, 131.72°)
OKLaboklab(58.7% -0.1046 0.0979)
OKLCHoklch(58.7% 0.143 136.9)
XYZxyz(13.6847, 21.5713, 6.3477)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F31 #70318F
analogous
#7F8F31 #508F31 #318F41
triadic
#508F31 #31508F #8F3150
tetradic
#508F31 #317F8F #70318F #8F4131
square
#508F31 #317F8F #70318F #8F4131
split-complementary
#508F31 #41318F #8F317F
monochromatic
#1D3412 #366121 #508F31 #69BD41 #8DCD6D

Accessibility & contrast

On white

3.95
#508F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#508F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F31
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F31#FFFFFF#000000##000000
##508F311.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948325
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f31;
/* rgb */ color: rgb(80, 143, 49);
/* oklch */ color: oklch(58.7% 0.143 136.9);
Tailwind
colors: {
  custom: {
    50: '#86b06d',
    500: '#508f31',
    950: '#000000',
  },
}
SCSS
$custom: #508f31;
$custom-light: #86b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#508f31",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 100.213,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.14325,
    "h": 136.9
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#508F31
secondary
#9B67B5
accent
#4FD9AB
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #508F31

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

Preview Lab → · Contrast checker → · Palette generator →

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