#508347#508347

#508347 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.8% C 0.105 H 140.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#508347
RGBrgb(80, 131, 71)
HSLhsl(111, 30%, 40%)
HSVhsv(111, 46%, 51%)
CMYKcmyk(38.9%, 0%, 45.8%, 48.6%)
CIE-LABlab(49.97, -29.66, 27.11)
CIE-LCHlch(49.97, 40.18, 137.57°)
OKLaboklab(55.85% -0.081 0.0662)
OKLCHoklch(55.85% 0.105 140.7)
XYZxyz(12.5614, 18.3923, 8.8482)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508347 #7A4783
analogous
#6E8347 #508347 #47835C
triadic
#508347 #475083 #834750
tetradic
#508347 #476E83 #7A4783 #835C47
square
#508347 #476E83 #7A4783 #835C47
split-complementary
#508347 #5C4783 #83476E
monochromatic
#20341C #385B31 #508347 #6AA85F #8FBE87

Accessibility & contrast

On white

4.49
#508347 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#508347 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508347
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508347#FFFFFF#000000##000000
##5083471.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A42
Deuteranopia (green-blind)
#7F754B
Tritanopia (blue-blind)
#4C8075
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508347;
/* rgb */ color: rgb(80, 131, 71);
/* oklch */ color: oklch(55.8% 0.105 140.7);
Tailwind
colors: {
  custom: {
    50: '#84a77b',
    500: '#508347',
    950: '#000000',
  },
}
SCSS
$custom: #508347;
$custom-light: #84a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#508347",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 111,
    "s": 29.703,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.10465,
    "h": 140.7
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#508347
secondary
#A37CA9
accent
#62C6B7
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508347

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

Preview Lab → · Contrast checker → · Palette generator →

#508347 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva