#508154#508154

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

Color values

HEX#508154
RGBrgb(80, 129, 84)
HSLhsl(125, 23%, 41%)
HSVhsv(125, 38%, 51%)
CMYKcmyk(38%, 0%, 34.9%, 49.4%)
CIE-LABlab(49.55, -26.54, 19.32)
CIE-LCHlch(49.55, 32.83, 143.95°)
OKLaboklab(55.58% -0.0723 0.0485)
OKLCHoklch(55.58% 0.087 146.2)
XYZxyz(12.7581, 18.0454, 11.1966)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508154 #81507D
analogous
#648150 #508154 #50816C
triadic
#508154 #545081 #815450
tetradic
#508154 #506481 #81507D #816C50
square
#508154 #506481 #81507D #816C50
split-complementary
#508154 #6C5081 #815064
monochromatic
#213523 #395B3B #508154 #6BA370 #91BB94

Accessibility & contrast

On white

4.56
#508154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508154#FFFFFF#000000##000000
##5081541.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#837951
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#4A7F75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508154;
/* rgb */ color: rgb(80, 129, 84);
/* oklch */ color: oklch(55.6% 0.087 146.2);
Tailwind
colors: {
  custom: {
    50: '#83a684',
    500: '#508154',
    950: '#000000',
  },
}
SCSS
$custom: #508154;
$custom-light: #83a684;
$custom-dark: #000000;
JSON
{
  "hex": "#508154",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 84
  },
  "hsl": {
    "h": 124.898,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.08708,
    "h": 146.2
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#508154
secondary
#A885A5
accent
#68B9C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508154

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

Preview Lab → · Contrast checker → · Palette generator →

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