#508E47#508E47

#508E47 is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.7% C 0.122 H 141.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#508E47
RGBrgb(80, 142, 71)
HSLhsl(112, 33%, 42%)
HSVhsv(112, 50%, 56%)
CMYKcmyk(43.7%, 0%, 50%, 44.3%)
CIE-LABlab(53.50, -34.76, 31.53)
CIE-LCHlch(53.50, 46.94, 137.79°)
OKLaboklab(58.72% -0.0949 0.0762)
OKLCHoklch(58.72% 0.122 141.2)
XYZxyz(14.1180, 21.5055, 9.3671)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508E47 #85478E
analogous
#748E47 #508E47 #478E62
triadic
#508E47 #47508E #8E4750
tetradic
#508E47 #47748E #85478E #8E6247
square
#508E47 #47748E #85478E #8E6247
split-complementary
#508E47 #62478E #8E4774
monochromatic
#223C1E #396533 #508E47 #6CB062 #92C58B

Accessibility & contrast

On white

3.96
#508E47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#508E47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508E47
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508E47#FFFFFF#000000##000000
##508E471.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918341
Deuteranopia (green-blind)
#887E4C
Tritanopia (blue-blind)
#4A8A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508e47;
/* rgb */ color: rgb(80, 142, 71);
/* oklch */ color: oklch(58.7% 0.122 141.2);
Tailwind
colors: {
  custom: {
    50: '#85af7c',
    500: '#508e47',
    950: '#000000',
  },
}
SCSS
$custom: #508e47;
$custom-light: #85af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#508e47",
  "rgb": {
    "r": 80,
    "g": 142,
    "b": 71
  },
  "hsl": {
    "h": 112.394,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.12174,
    "h": 141.2
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#508E47
secondary
#AA80B0
accent
#5EC9BC
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508E47

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

Preview Lab → · Contrast checker → · Palette generator →

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