#508A62#508A62

#508A62 is a mid, moderate green. Relative luminance 0.208; OKLCH L 58.2% C 0.087 H 152.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#508A62
RGBrgb(80, 138, 98)
HSLhsl(139, 27%, 43%)
HSVhsv(139, 42%, 54%)
CMYKcmyk(42%, 0%, 29%, 45.9%)
CIE-LABlab(52.69, -28.29, 15.62)
CIE-LCHlch(52.69, 32.32, 151.10°)
OKLaboklab(58.22% -0.0774 0.0397)
OKLCHoklch(58.22% 0.087 152.9)
XYZxyz(14.6004, 20.7633, 14.7913)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A62 #8A5078
analogous
#5B8A50 #508A62 #508A7F
triadic
#508A62 #62508A #8A6250
tetradic
#508A62 #505B8A #8A5078 #8A7F50
square
#508A62 #505B8A #8A5078 #8A7F50
split-complementary
#508A62 #7F508A #8A505B
monochromatic
#233D2B #3A6346 #508A62 #6DAA80 #94C1A2

Accessibility & contrast

On white

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

On black

5.15
#508A62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A62
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A62#FFFFFF#000000##000000
##508A621.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8160
Deuteranopia (green-blind)
#817B64
Tritanopia (blue-blind)
#45897F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508a62;
/* rgb */ color: rgb(80, 138, 98);
/* oklch */ color: oklch(58.2% 0.087 152.9);
Tailwind
colors: {
  custom: {
    50: '#84ac8e',
    500: '#508a62',
    950: '#000000',
  },
}
SCSS
$custom: #508a62;
$custom-light: #84ac8e;
$custom-dark: #000000;
JSON
{
  "hex": "#508a62",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 98
  },
  "hsl": {
    "h": 138.621,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.087,
    "h": 152.9
  },
  "luminance": 0.20764
}

Semantic roles & 50–950 ramp

primary
#508A62
secondary
#AE88A2
accent
#65A6C3
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508A62

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

Preview Lab → · Contrast checker → · Palette generator →

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