#508141#508141

#508141 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.2% C 0.108 H 138.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#508141
RGBrgb(80, 129, 65)
HSLhsl(106, 33%, 38%)
HSVhsv(106, 50%, 51%)
CMYKcmyk(38%, 0%, 49.6%, 49.4%)
CIE-LABlab(49.24, -29.58, 29.43)
CIE-LCHlch(49.24, 41.73, 135.14°)
OKLaboklab(55.22% -0.0811 0.0712)
OKLCHoklch(55.22% 0.108 138.7)
XYZxyz(12.1123, 17.7870, 7.7950)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508141 #724181
analogous
#708141 #508141 #418152
triadic
#508141 #415081 #814150
tetradic
#508141 #417081 #724181 #815241
square
#508141 #417081 #724181 #815241
split-complementary
#508141 #524181 #814170
monochromatic
#1E3018 #37582C #508141 #69AA56 #8DBE7E

Accessibility & contrast

On white

4.61
#508141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#508141 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508141
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508141#FFFFFF#000000##FFFFFF
##5081411.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783C
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#4D7D72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508141;
/* rgb */ color: rgb(80, 129, 65);
/* oklch */ color: oklch(55.2% 0.108 138.7);
Tailwind
colors: {
  custom: {
    50: '#84a677',
    500: '#508141',
    950: '#000000',
  },
}
SCSS
$custom: #508141;
$custom-light: #84a677;
$custom-dark: #000000;
JSON
{
  "hex": "#508141",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 105.938,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.10786,
    "h": 138.7
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#508141
secondary
#9D75A9
accent
#5FC9B0
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508141

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

Preview Lab → · Contrast checker → · Palette generator →

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