#508C3D#508C3D

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

Color values

HEX#508C3D
RGBrgb(80, 140, 61)
HSLhsl(106, 39%, 39%)
HSVhsv(106, 56%, 55%)
CMYKcmyk(42.9%, 0%, 56.4%, 45.1%)
CIE-LABlab(52.73, -35.18, 35.73)
CIE-LCHlch(52.73, 50.15, 134.55°)
OKLaboklab(58.05% -0.0966 0.0848)
OKLCHoklch(58.05% 0.129 138.7)
XYZxyz(13.5282, 20.7978, 7.7155)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C3D #793D8C
analogous
#778C3D #508C3D #3D8C52
triadic
#508C3D #3D508C #8C3D50
tetradic
#508C3D #3D778C #793D8C #8C523D
square
#508C3D #3D778C #793D8C #8C523D
split-complementary
#508C3D #523D8C #8C3D77
monochromatic
#1F3718 #38612A #508C3D #6AB452 #8FC67D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508C3D#FFFFFF#000000##000000
##508C3D1.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)
#908135
Deuteranopia (green-blind)
#887C43
Tritanopia (blue-blind)
#4C887A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c3d;
/* rgb */ color: rgb(80, 140, 61);
/* oklch */ color: oklch(58.1% 0.129 138.7);
Tailwind
colors: {
  custom: {
    50: '#85ae75',
    500: '#508c3d',
    950: '#000000',
  },
}
SCSS
$custom: #508c3d;
$custom-light: #85ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#508c3d",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 61
  },
  "hsl": {
    "h": 105.57,
    "s": 39.303,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.12854,
    "h": 138.7
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#508C3D
secondary
#A275B0
accent
#59CFB3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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