#508C56#508C56

#508C56 is a mid, moderate green. Relative luminance 0.211; OKLCH L 58.5% C 0.103 H 146.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#508C56
RGBrgb(80, 140, 86)
HSLhsl(126, 27%, 43%)
HSVhsv(126, 43%, 55%)
CMYKcmyk(42.9%, 0%, 38.6%, 45.1%)
CIE-LABlab(53.09, -31.48, 22.91)
CIE-LCHlch(53.09, 38.94, 143.96°)
OKLaboklab(58.47% -0.0857 0.057)
OKLCHoklch(58.47% 0.103 146.4)
XYZxyz(14.3653, 21.1326, 12.1243)
Luminance0.2113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C56 #8C5086
analogous
#688C50 #508C56 #508C74
triadic
#508C56 #56508C #8C5650
tetradic
#508C56 #50688C #8C5086 #8C7450
square
#508C56 #50688C #8C5086 #8C7450
split-complementary
#508C56 #74508C #8C5068
monochromatic
#233E26 #3A653E #508C56 #6DAC74 #94C299

Accessibility & contrast

On white

4.02
#508C56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#508C56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C56
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C56#FFFFFF#000000##000000
##508C561.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8252
Deuteranopia (green-blind)
#857C59
Tritanopia (blue-blind)
#48897E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508c56;
/* rgb */ color: rgb(80, 140, 86);
/* oklch */ color: oklch(58.5% 0.103 146.4);
Tailwind
colors: {
  custom: {
    50: '#84ae86',
    500: '#508c56',
    950: '#000000',
  },
}
SCSS
$custom: #508c56;
$custom-light: #84ae86;
$custom-dark: #000000;
JSON
{
  "hex": "#508c56",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 86
  },
  "hsl": {
    "h": 126,
    "s": 27.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.10294,
    "h": 146.4
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#508C56
secondary
#AF89AB
accent
#64BAC4
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100B
muted
#7C7F7C

Preview Lab

Preview with #508C56

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

Preview Lab → · Contrast checker → · Palette generator →

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