#508C3C#508C3C

#508C3C is a mid, vivid green. Relative luminance 0.208; OKLCH L 58.0% C 0.129 H 138.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#508C3C
RGBrgb(80, 140, 60)
HSLhsl(105, 40%, 39%)
HSVhsv(105, 57%, 55%)
CMYKcmyk(42.9%, 0%, 57.1%, 45.1%)
CIE-LABlab(52.72, -35.30, 36.22)
CIE-LCHlch(52.72, 50.58, 134.27°)
OKLaboklab(58.04% -0.097 0.0858)
OKLCHoklch(58.04% 0.129 138.5)
XYZxyz(13.5015, 20.7871, 7.5750)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C3C #783C8C
analogous
#788C3C #508C3C #3C8C50
triadic
#508C3C #3C508C #8C3C50
tetradic
#508C3C #3C788C #783C8C #8C503C
square
#508C3C #3C788C #783C8C #8C503C
split-complementary
#508C3C #503C8C #8C3C78
monochromatic
#1F3617 #38612A #508C3C #6AB451 #8EC77C

Accessibility & contrast

On white

4.07
#508C3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#508C3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C3C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C3C#FFFFFF#000000##000000
##508C3C1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908134
Deuteranopia (green-blind)
#887C42
Tritanopia (blue-blind)
#4C887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c3c;
/* rgb */ color: rgb(80, 140, 60);
/* oklch */ color: oklch(58.0% 0.129 138.5);
Tailwind
colors: {
  custom: {
    50: '#85ae74',
    500: '#508c3c',
    950: '#000000',
  },
}
SCSS
$custom: #508c3c;
$custom-light: #85ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#508c3c",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 60
  },
  "hsl": {
    "h": 105,
    "s": 40,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.12948,
    "h": 138.5
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#508C3C
secondary
#A173B0
accent
#58D0B2
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508C3C

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

Preview Lab → · Contrast checker → · Palette generator →

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