#508C41#508C41

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

Color values

HEX#508C41
RGBrgb(80, 140, 65)
HSLhsl(108, 37%, 40%)
HSVhsv(108, 54%, 55%)
CMYKcmyk(42.9%, 0%, 53.6%, 45.1%)
CIE-LABlab(52.78, -34.68, 33.76)
CIE-LCHlch(52.78, 48.40, 135.76°)
OKLaboklab(58.11% -0.095 0.0808)
OKLCHoklch(58.11% 0.125 139.6)
XYZxyz(13.6400, 20.8425, 8.3043)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C41 #7D418C
analogous
#758C41 #508C41 #418C57
triadic
#508C41 #41508C #8C4150
tetradic
#508C41 #41758C #7D418C #8C5741
square
#508C41 #41758C #7D418C #8C5741
split-complementary
#508C41 #57418C #8C4175
monochromatic
#20381A #38622E #508C41 #6AB259 #90C582

Accessibility & contrast

On white

4.06
#508C41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#508C41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C41
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C41#FFFFFF#000000##000000
##508C411.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813A
Deuteranopia (green-blind)
#877C46
Tritanopia (blue-blind)
#4B887B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c41;
/* rgb */ color: rgb(80, 140, 65);
/* oklch */ color: oklch(58.1% 0.125 139.6);
Tailwind
colors: {
  custom: {
    50: '#85ae77',
    500: '#508c41',
    950: '#000000',
  },
}
SCSS
$custom: #508c41;
$custom-light: #85ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#508c41",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 65
  },
  "hsl": {
    "h": 108,
    "s": 36.585,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.1247,
    "h": 139.6
  },
  "luminance": 0.20843
}

Semantic roles & 50–950 ramp

primary
#508C41
secondary
#A579B0
accent
#5BCDB6
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508C41

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

Preview Lab → · Contrast checker → · Palette generator →

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