#508B4E#508B4E

#508B4E is a mid, moderate green. Relative luminance 0.207; OKLCH L 58.1% C 0.110 H 143.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#508B4E
RGBrgb(80, 139, 78)
HSLhsl(118, 28%, 43%)
HSVhsv(118, 44%, 55%)
CMYKcmyk(42.4%, 0%, 43.9%, 45.5%)
CIE-LABlab(52.64, -32.34, 26.71)
CIE-LCHlch(52.64, 41.95, 140.45°)
OKLaboklab(58.06% -0.0881 0.0656)
OKLCHoklch(58.06% 0.11 143.3)
XYZxyz(13.9154, 20.7199, 10.4724)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B4E #894E8B
analogous
#6E8B4E #508B4E #4E8B6B
triadic
#508B4E #4E508B #8B4E50
tetradic
#508B4E #4E6E8B #894E8B #8B6B4E
square
#508B4E #4E6E8B #894E8B #8B6B4E
split-complementary
#508B4E #6B4E8B #8B4E6E
monochromatic
#233D22 #396438 #508B4E #6DAC6B #93C292

Accessibility & contrast

On white

4.08
#508B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#508B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B4E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B4E#FFFFFF#000000##000000
##508B4E1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#857B52
Tritanopia (blue-blind)
#49887C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508b4e;
/* rgb */ color: rgb(80, 139, 78);
/* oklch */ color: oklch(58.1% 0.110 143.3);
Tailwind
colors: {
  custom: {
    50: '#84ad80',
    500: '#508b4e',
    950: '#000000',
  },
}
SCSS
$custom: #508b4e;
$custom-light: #84ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#508b4e",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 118.033,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.10987,
    "h": 143.3
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#508B4E
secondary
#AD87AE
accent
#63C4C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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