#508147#508147

#508147 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.3% C 0.101 H 140.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#508147
RGBrgb(80, 129, 71)
HSLhsl(111, 29%, 39%)
HSVhsv(111, 45%, 51%)
CMYKcmyk(38%, 0%, 45%, 49.4%)
CIE-LABlab(49.33, -28.70, 26.29)
CIE-LCHlch(49.33, 38.93, 137.51°)
OKLaboklab(55.33% -0.0784 0.0644)
OKLCHoklch(55.33% 0.101 140.6)
XYZxyz(12.2954, 17.8603, 8.7595)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508147 #784781
analogous
#6D8147 #508147 #47815B
triadic
#508147 #475081 #814750
tetradic
#508147 #476D81 #784781 #815B47
square
#508147 #476D81 #784781 #815B47
split-complementary
#508147 #5B4781 #81476D
monochromatic
#1F321C #385A31 #508147 #6AA75F #8EBC86

Accessibility & contrast

On white

4.59
#508147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#508147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508147
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508147#FFFFFF#000000##FFFFFF
##5081471.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847843
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#4C7E73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508147;
/* rgb */ color: rgb(80, 129, 71);
/* oklch */ color: oklch(55.3% 0.101 140.6);
Tailwind
colors: {
  custom: {
    50: '#83a67b',
    500: '#508147',
    950: '#000000',
  },
}
SCSS
$custom: #508147;
$custom-light: #83a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#508147",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 110.69,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.10144,
    "h": 140.6
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#508147
secondary
#A17CA8
accent
#63C5B6
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508147

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

Preview Lab → · Contrast checker → · Palette generator →

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