#508951#508951

#508951 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.6% C 0.103 H 144.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#508951
RGBrgb(80, 137, 81)
HSLhsl(121, 26%, 43%)
HSVhsv(121, 42%, 54%)
CMYKcmyk(41.6%, 0%, 40.9%, 46.3%)
CIE-LABlab(52.05, -30.92, 24.31)
CIE-LCHlch(52.05, 39.33, 141.83°)
OKLaboklab(57.6% -0.0842 0.0602)
OKLCHoklch(57.6% 0.103 144.5)
XYZxyz(13.7385, 20.1901, 10.9561)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508951 #895088
analogous
#6B8950 #508951 #50896E
triadic
#508951 #515089 #895150
tetradic
#508951 #506B89 #895088 #896E50
square
#508951 #506B89 #895088 #896E50
split-complementary
#508951 #6E5089 #89506B
monochromatic
#233C23 #39623A #508951 #6DAA6E #93C094

Accessibility & contrast

On white

4.17
#508951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#508951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508951
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508951#FFFFFF#000000##000000
##5089511.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804D
Deuteranopia (green-blind)
#837A54
Tritanopia (blue-blind)
#49867B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508951;
/* rgb */ color: rgb(80, 137, 81);
/* oklch */ color: oklch(57.6% 0.103 144.5);
Tailwind
colors: {
  custom: {
    50: '#84ac82',
    500: '#508951',
    950: '#000000',
  },
}
SCSS
$custom: #508951;
$custom-light: #84ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#508951",
  "rgb": {
    "r": 80,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 121.053,
    "s": 26.267,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.10348,
    "h": 144.5
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#508951
secondary
#AD88AC
accent
#65C1C3
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508951

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

Preview Lab → · Contrast checker → · Palette generator →

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