#508161#508161

#508161 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.9% C 0.073 H 154.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#508161
RGBrgb(80, 129, 97)
HSLhsl(141, 23%, 41%)
HSVhsv(141, 38%, 51%)
CMYKcmyk(38%, 0%, 24.8%, 49.4%)
CIE-LABlab(49.82, -24.02, 12.22)
CIE-LCHlch(49.82, 26.95, 153.04°)
OKLaboklab(55.89% -0.0661 0.0313)
OKLCHoklch(55.89% 0.073 154.7)
XYZxyz(13.3154, 18.2683, 14.1315)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508161 #815070
analogous
#578150 #508161 #508179
triadic
#508161 #615081 #816150
tetradic
#508161 #505781 #815070 #817950
square
#508161 #505781 #815070 #817950
split-complementary
#508161 #795081 #815057
monochromatic
#213528 #395B45 #508161 #6BA37E #91BB9F

Accessibility & contrast

On white

4.51
#508161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#508161 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508161
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508161#FFFFFF#000000##000000
##5081611.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A5F
Deuteranopia (green-blind)
#797463
Tritanopia (blue-blind)
#478078
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508161;
/* rgb */ color: rgb(80, 129, 97);
/* oklch */ color: oklch(55.9% 0.073 154.7);
Tailwind
colors: {
  custom: {
    50: '#83a68e',
    500: '#508161',
    950: '#000000',
  },
}
SCSS
$custom: #508161;
$custom-light: #83a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#508161",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 97
  },
  "hsl": {
    "h": 140.816,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.07311,
    "h": 154.7
  },
  "luminance": 0.18269
}

Semantic roles & 50–950 ramp

primary
#508161
secondary
#A8859C
accent
#68A1C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #508161

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

Preview Lab → · Contrast checker → · Palette generator →

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