#508C48#508C48

#508C48 is a mid, moderate green. Relative luminance 0.209; OKLCH L 58.2% C 0.118 H 141.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#508C48
RGBrgb(80, 140, 72)
HSLhsl(113, 32%, 42%)
HSVhsv(113, 49%, 55%)
CMYKcmyk(42.9%, 0%, 48.6%, 45.1%)
CIE-LABlab(52.87, -33.71, 30.23)
CIE-LCHlch(52.87, 45.28, 138.12°)
OKLaboklab(58.22% -0.092 0.0734)
OKLCHoklch(58.22% 0.118 141.4)
XYZxyz(13.8555, 20.9287, 9.4392)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C48 #84488C
analogous
#728C48 #508C48 #488C62
triadic
#508C48 #48508C #8C4850
tetradic
#508C48 #48728C #84488C #8C6248
square
#508C48 #48728C #84488C #8C6248
split-complementary
#508C48 #62488C #8C4872
monochromatic
#223B1E #396433 #508C48 #6CAF63 #92C38B

Accessibility & contrast

On white

4.05
#508C48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#508C48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C48
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C48#FFFFFF#000000##000000
##508C481.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8242
Deuteranopia (green-blind)
#877C4C
Tritanopia (blue-blind)
#4A887C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c48;
/* rgb */ color: rgb(80, 140, 72);
/* oklch */ color: oklch(58.2% 0.118 141.4);
Tailwind
colors: {
  custom: {
    50: '#85ae7c',
    500: '#508c48',
    950: '#000000',
  },
}
SCSS
$custom: #508c48;
$custom-light: #85ae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#508c48",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 72
  },
  "hsl": {
    "h": 112.941,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.11768,
    "h": 141.4
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#508C48
secondary
#AA81AF
accent
#60C8BC
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508C48

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

Preview Lab → · Contrast checker → · Palette generator →

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