#508E3A#508E3A

#508E3A is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.5% C 0.134 H 138.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#508E3A
RGBrgb(80, 142, 58)
HSLhsl(104, 42%, 39%)
HSVhsv(104, 59%, 56%)
CMYKcmyk(43.7%, 0%, 59.2%, 44.3%)
CIE-LABlab(53.34, -36.42, 37.93)
CIE-LCHlch(53.34, 52.59, 133.84°)
OKLaboklab(58.54% -0.1002 0.0893)
OKLCHoklch(58.54% 0.134 138.3)
XYZxyz(13.7445, 21.3561, 7.4001)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E3A #783A8E
analogous
#7A8E3A #508E3A #3A8E4E
triadic
#508E3A #3A508E #8E3A50
tetradic
#508E3A #3A7A8E #783A8E #8E4E3A
square
#508E3A #3A7A8E #783A8E #8E4E3A
split-complementary
#508E3A #4E3A8E #8E3A7A
monochromatic
#1F3717 #386328 #508E3A #6AB74E #8EC97A

Accessibility & contrast

On white

3.98
#508E3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#508E3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E3A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E3A#FFFFFF#000000##000000
##508E3A1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928331
Deuteranopia (green-blind)
#8A7D40
Tritanopia (blue-blind)
#4C897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508e3a;
/* rgb */ color: rgb(80, 142, 58);
/* oklch */ color: oklch(58.5% 0.134 138.3);
Tailwind
colors: {
  custom: {
    50: '#86af73',
    500: '#508e3a',
    950: '#000000',
  },
}
SCSS
$custom: #508e3a;
$custom-light: #86af73;
$custom-dark: #000000;
JSON
{
  "hex": "#508e3a",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 58
  },
  "hsl": {
    "h": 104.286,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.1342,
    "h": 138.3
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

primary
#508E3A
secondary
#A172B2
accent
#56D2B1
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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