#508F47#508F47

#508F47 is a mid, vivid green. Relative luminance 0.218; OKLCH L 59.0% C 0.123 H 141.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#508F47
RGBrgb(80, 143, 71)
HSLhsl(113, 34%, 42%)
HSVhsv(113, 50%, 56%)
CMYKcmyk(44.1%, 0%, 50.3%, 43.9%)
CIE-LABlab(53.82, -35.21, 31.93)
CIE-LCHlch(53.82, 47.54, 137.80°)
OKLaboklab(58.99% -0.0962 0.0771)
OKLCHoklch(58.99% 0.123 141.3)
XYZxyz(14.2675, 21.8044, 9.4169)
Luminance0.2180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F47 #86478F
analogous
#748F47 #508F47 #478F62
triadic
#508F47 #47508F #8F4750
tetradic
#508F47 #47748F #86478F #8F6247
square
#508F47 #47748F #86478F #8F6247
split-complementary
#508F47 #62478F #8F4774
monochromatic
#223D1E #396633 #508F47 #6CB162 #92C58B

Accessibility & contrast

On white

3.92
#508F47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#508F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F47
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F47#FFFFFF#000000##000000
##508F471.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928441
Deuteranopia (green-blind)
#897E4C
Tritanopia (blue-blind)
#4A8B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f47;
/* rgb */ color: rgb(80, 143, 71);
/* oklch */ color: oklch(59.0% 0.123 141.3);
Tailwind
colors: {
  custom: {
    50: '#85b07c',
    500: '#508f47',
    950: '#000000',
  },
}
SCSS
$custom: #508f47;
$custom-light: #85b07c;
$custom-dark: #000000;
JSON
{
  "hex": "#508f47",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 112.5,
    "s": 33.645,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58986,
    "c": 0.12326,
    "h": 141.3
  },
  "luminance": 0.21805
}

Semantic roles & 50–950 ramp

primary
#508F47
secondary
#AB81B1
accent
#5ECABC
background
#F8FAF7
surface
#F0F5EE
border
#CBCFC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F47

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

Preview Lab → · Contrast checker → · Palette generator →

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