#508D48#508D48

#508D48 is a mid, moderate green. Relative luminance 0.212; OKLCH L 58.5% C 0.119 H 141.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508D48
RGBrgb(80, 141, 72)
HSLhsl(113, 32%, 42%)
HSVhsv(113, 49%, 55%)
CMYKcmyk(43.3%, 0%, 48.9%, 44.7%)
CIE-LABlab(53.19, -34.17, 30.63)
CIE-LCHlch(53.19, 45.89, 138.13°)
OKLaboklab(58.48% -0.0933 0.0743)
OKLCHoklch(58.48% 0.119 141.5)
XYZxyz(14.0023, 21.2223, 9.4881)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D48 #85488D
analogous
#738D48 #508D48 #488D63
triadic
#508D48 #48508D #8D4850
tetradic
#508D48 #48738D #85488D #8D6348
square
#508D48 #48738D #85488D #8D6348
split-complementary
#508D48 #63488D #8D4873
monochromatic
#223C1F #396433 #508D48 #6CAF63 #92C48B

Accessibility & contrast

On white

4.00
#508D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D48
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D48#FFFFFF#000000##000000
##508D481.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#877D4D
Tritanopia (blue-blind)
#4A897D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d48;
/* rgb */ color: rgb(80, 141, 72);
/* oklch */ color: oklch(58.5% 0.119 141.5);
Tailwind
colors: {
  custom: {
    50: '#85af7c',
    500: '#508d48',
    950: '#000000',
  },
}
SCSS
$custom: #508d48;
$custom-light: #85af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#508d48",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 113.043,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.11922,
    "h": 141.5
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#508D48
secondary
#AA81B0
accent
#5FC9BC
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D48

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

Preview Lab → · Contrast checker → · Palette generator →

#508D48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva