#508C64#508C64

#508C64 is a mid, moderate green. Relative luminance 0.214; OKLCH L 58.8% C 0.088 H 153.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#508C64
RGBrgb(80, 140, 100)
HSLhsl(140, 27%, 43%)
HSVhsv(140, 43%, 55%)
CMYKcmyk(42.9%, 0%, 28.6%, 45.1%)
CIE-LABlab(53.36, -28.87, 15.41)
CIE-LCHlch(53.36, 32.72, 151.91°)
OKLaboklab(58.78% -0.079 0.0392)
OKLCHoklch(58.78% 0.088 153.6)
XYZxyz(14.9856, 21.3808, 15.3914)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C64 #8C5078
analogous
#5A8C50 #508C64 #508C82
triadic
#508C64 #64508C #8C6450
tetradic
#508C64 #505A8C #8C5078 #8C8250
square
#508C64 #505A8C #8C5078 #8C8250
split-complementary
#508C64 #82508C #8C505A
monochromatic
#233E2C #3A6548 #508C64 #6DAC82 #94C2A4

Accessibility & contrast

On white

3.98
#508C64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#508C64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C64
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C64#FFFFFF#000000##000000
##508C641.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8362
Deuteranopia (green-blind)
#837D66
Tritanopia (blue-blind)
#448B81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508c64;
/* rgb */ color: rgb(80, 140, 100);
/* oklch */ color: oklch(58.8% 0.088 153.6);
Tailwind
colors: {
  custom: {
    50: '#84ae90',
    500: '#508c64',
    950: '#000000',
  },
}
SCSS
$custom: #508c64;
$custom-light: #84ae90;
$custom-dark: #000000;
JSON
{
  "hex": "#508c64",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 100
  },
  "hsl": {
    "h": 140,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58779,
    "c": 0.08822,
    "h": 153.6
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#508C64
secondary
#AF89A2
accent
#64A4C4
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508C64

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

Preview Lab → · Contrast checker → · Palette generator →

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