#508A4E#508A4E

#508A4E is a mid, moderate green. Relative luminance 0.204; OKLCH L 57.8% C 0.108 H 143.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#508A4E
RGBrgb(80, 138, 78)
HSLhsl(118, 28%, 42%)
HSVhsv(118, 43%, 54%)
CMYKcmyk(42%, 0%, 43.5%, 45.9%)
CIE-LABlab(52.32, -31.88, 26.30)
CIE-LCHlch(52.32, 41.33, 140.47°)
OKLaboklab(57.8% -0.0868 0.0647)
OKLCHoklch(57.8% 0.108 143.3)
XYZxyz(13.7713, 20.4317, 10.4243)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A4E #884E8A
analogous
#6E8A4E #508A4E #4E8A6A
triadic
#508A4E #4E508A #8A4E50
tetradic
#508A4E #4E6E8A #884E8A #8A6A4E
square
#508A4E #4E6E8A #884E8A #8A6A4E
split-complementary
#508A4E #6A4E8A #8A4E6E
monochromatic
#233C22 #396338 #508A4E #6CAB6A #93C191

Accessibility & contrast

On white

4.13
#508A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#508A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A4E
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A4E#FFFFFF#000000##000000
##508A4E1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804A
Deuteranopia (green-blind)
#847B52
Tritanopia (blue-blind)
#4A877B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508a4e;
/* rgb */ color: rgb(80, 138, 78);
/* oklch */ color: oklch(57.8% 0.108 143.3);
Tailwind
colors: {
  custom: {
    50: '#84ac80',
    500: '#508a4e',
    950: '#000000',
  },
}
SCSS
$custom: #508a4e;
$custom-light: #84ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#508a4e",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 118,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.10829,
    "h": 143.3
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#508A4E
secondary
#AC86AE
accent
#64C4C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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