#508155#508155

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

Color values

HEX#508155
RGBrgb(80, 129, 85)
HSLhsl(126, 23%, 41%)
HSVhsv(126, 38%, 51%)
CMYKcmyk(38%, 0%, 34.1%, 49.4%)
CIE-LABlab(49.57, -26.36, 18.78)
CIE-LCHlch(49.57, 32.36, 144.54°)
OKLaboklab(55.6% -0.0719 0.0472)
OKLCHoklch(55.6% 0.086 146.7)
XYZxyz(12.7976, 18.0612, 11.4044)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508155 #81507C
analogous
#638150 #508155 #50816D
triadic
#508155 #555081 #815550
tetradic
#508155 #506381 #81507C #816D50
square
#508155 #506381 #81507C #816D50
split-complementary
#508155 #6D5081 #815063
monochromatic
#213523 #395B3C #508155 #6BA371 #91BB95

Accessibility & contrast

On white

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

On black

4.61
#508155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508155
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508155#FFFFFF#000000##000000
##5081551.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827952
Deuteranopia (green-blind)
#7B7458
Tritanopia (blue-blind)
#4A7F76
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508155;
/* rgb */ color: rgb(80, 129, 85);
/* oklch */ color: oklch(55.6% 0.086 146.7);
Tailwind
colors: {
  custom: {
    50: '#83a685',
    500: '#508155',
    950: '#000000',
  },
}
SCSS
$custom: #508155;
$custom-light: #83a685;
$custom-dark: #000000;
JSON
{
  "hex": "#508155",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 85
  },
  "hsl": {
    "h": 126.122,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55603,
    "c": 0.08598,
    "h": 146.7
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#508155
secondary
#A885A4
accent
#68B7C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508155

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

Preview Lab → · Contrast checker → · Palette generator →

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