#508157#508157

#508157 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.6% C 0.084 H 147.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#508157
RGBrgb(80, 129, 87)
HSLhsl(129, 23%, 41%)
HSVhsv(129, 38%, 51%)
CMYKcmyk(38%, 0%, 32.6%, 49.4%)
CIE-LABlab(49.61, -25.99, 17.69)
CIE-LCHlch(49.61, 31.44, 145.76°)
OKLaboklab(55.65% -0.0709 0.0446)
OKLCHoklch(55.65% 0.084 147.8)
XYZxyz(12.8782, 18.0934, 11.8288)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508157 #81507A
analogous
#618150 #508157 #50816F
triadic
#508157 #575081 #815750
tetradic
#508157 #506181 #81507A #816F50
square
#508157 #506181 #81507A #816F50
split-complementary
#508157 #6F5081 #815061
monochromatic
#213524 #395B3E #508157 #6BA373 #91BB97

Accessibility & contrast

On white

4.55
#508157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#508157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508157
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508157#FFFFFF#000000##000000
##5081571.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827954
Deuteranopia (green-blind)
#7B7459
Tritanopia (blue-blind)
#497F76
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508157;
/* rgb */ color: rgb(80, 129, 87);
/* oklch */ color: oklch(55.6% 0.084 147.8);
Tailwind
colors: {
  custom: {
    50: '#83a686',
    500: '#508157',
    950: '#000000',
  },
}
SCSS
$custom: #508157;
$custom-light: #83a686;
$custom-dark: #000000;
JSON
{
  "hex": "#508157",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 128.571,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.08377,
    "h": 147.8
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#508157
secondary
#A885A3
accent
#68B3C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508157

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

Preview Lab → · Contrast checker → · Palette generator →

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