#508152#508152

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

Color values

HEX#508152
RGBrgb(80, 129, 82)
HSLhsl(122, 23%, 41%)
HSVhsv(122, 38%, 51%)
CMYKcmyk(38%, 0%, 36.4%, 49.4%)
CIE-LABlab(49.51, -26.90, 20.40)
CIE-LCHlch(49.51, 33.76, 142.82°)
OKLaboklab(55.54% -0.0733 0.051)
OKLCHoklch(55.54% 0.089 145.2)
XYZxyz(12.6809, 18.0145, 10.7900)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508152 #81507F
analogous
#668150 #508152 #50816A
triadic
#508152 #525081 #815250
tetradic
#508152 #506681 #81507F #816A50
square
#508152 #506681 #81507F #816A50
split-complementary
#508152 #6A5081 #815066
monochromatic
#213522 #395B3A #508152 #6BA36D #91BB92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508152#FFFFFF#000000##000000
##5081521.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#4A7F75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508152;
/* rgb */ color: rgb(80, 129, 82);
/* oklch */ color: oklch(55.5% 0.089 145.2);
Tailwind
colors: {
  custom: {
    50: '#83a683',
    500: '#508152',
    950: '#000000',
  },
}
SCSS
$custom: #508152;
$custom-light: #83a683;
$custom-dark: #000000;
JSON
{
  "hex": "#508152",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 122.449,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.0893,
    "h": 145.2
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#508152
secondary
#A885A6
accent
#68BCC0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508152

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

Preview Lab → · Contrast checker → · Palette generator →

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