#508151#508151

#508151 is a mid, moderate green. Relative luminance 0.180; OKLCH L 55.5% C 0.090 H 144.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#508151
RGBrgb(80, 129, 81)
HSLhsl(121, 23%, 41%)
HSVhsv(121, 38%, 51%)
CMYKcmyk(38%, 0%, 37.2%, 49.4%)
CIE-LABlab(49.50, -27.07, 20.94)
CIE-LCHlch(49.50, 34.23, 142.27°)
OKLaboklab(55.52% -0.0738 0.0523)
OKLCHoklch(55.52% 0.09 144.7)
XYZxyz(12.6431, 17.9994, 10.5910)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508151 #815080
analogous
#678150 #508151 #508169
triadic
#508151 #515081 #815150
tetradic
#508151 #506781 #815080 #816950
square
#508151 #506781 #815080 #816950
split-complementary
#508151 #695081 #815067
monochromatic
#213522 #395B39 #508151 #6BA36C #91BB92

Accessibility & contrast

On white

4.57
#508151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#508151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508151
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508151#FFFFFF#000000##000000
##5081511.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794E
Deuteranopia (green-blind)
#7B7454
Tritanopia (blue-blind)
#4A7E75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508151;
/* rgb */ color: rgb(80, 129, 81);
/* oklch */ color: oklch(55.5% 0.090 144.7);
Tailwind
colors: {
  custom: {
    50: '#83a682',
    500: '#508151',
    950: '#000000',
  },
}
SCSS
$custom: #508151;
$custom-light: #83a682;
$custom-dark: #000000;
JSON
{
  "hex": "#508151",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 121.224,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.09041,
    "h": 144.7
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

primary
#508151
secondary
#A885A7
accent
#68BEC0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508151

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

Preview Lab → · Contrast checker → · Palette generator →

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