#508158#508158

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

Color values

HEX#508158
RGBrgb(80, 129, 88)
HSLhsl(130, 23%, 41%)
HSVhsv(130, 38%, 51%)
CMYKcmyk(38%, 0%, 31.8%, 49.4%)
CIE-LABlab(49.63, -25.80, 17.14)
CIE-LCHlch(49.63, 30.98, 146.40°)
OKLaboklab(55.67% -0.0704 0.0433)
OKLCHoklch(55.67% 0.083 148.4)
XYZxyz(12.9193, 18.1099, 12.0454)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508158 #815079
analogous
#608150 #508158 #508170
triadic
#508158 #585081 #815850
tetradic
#508158 #506081 #815079 #817050
square
#508158 #506081 #815079 #817050
split-complementary
#508158 #705081 #815060
monochromatic
#213524 #395B3E #508158 #6BA374 #91BB98

Accessibility & contrast

On white

4.54
#508158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508158#FFFFFF#000000##000000
##5081581.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508158;
/* rgb */ color: rgb(80, 129, 88);
/* oklch */ color: oklch(55.7% 0.083 148.4);
Tailwind
colors: {
  custom: {
    50: '#83a687',
    500: '#508158',
    950: '#000000',
  },
}
SCSS
$custom: #508158;
$custom-light: #83a687;
$custom-dark: #000000;
JSON
{
  "hex": "#508158",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 129.796,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.08267,
    "h": 148.4
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#508158
secondary
#A885A2
accent
#68B2C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508158

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

Preview Lab → · Contrast checker → · Palette generator →

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