#508C47#508C47

#508C47 is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.2% C 0.119 H 141.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#508C47
RGBrgb(80, 140, 71)
HSLhsl(112, 33%, 41%)
HSVhsv(112, 49%, 55%)
CMYKcmyk(42.9%, 0%, 49.3%, 45.1%)
CIE-LABlab(52.86, -33.86, 30.74)
CIE-LCHlch(52.86, 45.73, 137.76°)
OKLaboklab(58.2% -0.0925 0.0744)
OKLCHoklch(58.2% 0.119 141.2)
XYZxyz(13.8231, 20.9157, 9.2688)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C47 #83478C
analogous
#738C47 #508C47 #478C61
triadic
#508C47 #47508C #8C4750
tetradic
#508C47 #47738C #83478C #8C6147
square
#508C47 #47738C #83478C #8C6147
split-complementary
#508C47 #61478C #8C4773
monochromatic
#223B1E #396332 #508C47 #6BAF61 #91C48A

Accessibility & contrast

On white

4.05
#508C47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#508C47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C47
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C47#FFFFFF#000000##000000
##508C471.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8241
Deuteranopia (green-blind)
#877C4C
Tritanopia (blue-blind)
#4A887C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c47;
/* rgb */ color: rgb(80, 140, 71);
/* oklch */ color: oklch(58.2% 0.119 141.2);
Tailwind
colors: {
  custom: {
    50: '#85ae7b',
    500: '#508c47',
    950: '#000000',
  },
}
SCSS
$custom: #508c47;
$custom-light: #85ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#508c47",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 71
  },
  "hsl": {
    "h": 112.174,
    "s": 32.701,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.1187,
    "h": 141.2
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#508C47
secondary
#A980AF
accent
#5FC9BB
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508C47

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

Preview Lab → · Contrast checker → · Palette generator →

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