#508A41#508A41

#508A41 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.6% C 0.122 H 139.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#508A41
RGBrgb(80, 138, 65)
HSLhsl(108, 36%, 40%)
HSVhsv(108, 53%, 54%)
CMYKcmyk(42%, 0%, 52.9%, 45.9%)
CIE-LABlab(52.13, -33.77, 32.99)
CIE-LCHlch(52.13, 47.21, 135.67°)
OKLaboklab(57.58% -0.0925 0.0791)
OKLCHoklch(57.58% 0.122 139.5)
XYZxyz(13.3504, 20.2633, 8.2078)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A41 #7B418A
analogous
#758A41 #508A41 #418A56
triadic
#508A41 #41508A #8A4150
tetradic
#508A41 #41758A #7B418A #8A5641
square
#508A41 #41758A #7B418A #8A5641
split-complementary
#508A41 #56418A #8A4175
monochromatic
#20371A #38602D #508A41 #6AB058 #8FC482

Accessibility & contrast

On white

4.16
#508A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#508A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A41
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A41#FFFFFF#000000##000000
##508A411.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803B
Deuteranopia (green-blind)
#857A46
Tritanopia (blue-blind)
#4C8679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a41;
/* rgb */ color: rgb(80, 138, 65);
/* oklch */ color: oklch(57.6% 0.122 139.5);
Tailwind
colors: {
  custom: {
    50: '#85ac77',
    500: '#508a41',
    950: '#000000',
  },
}
SCSS
$custom: #508a41;
$custom-light: #85ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#508a41",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 107.671,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.1217,
    "h": 139.5
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#508A41
secondary
#A378AE
accent
#5CCCB5
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508A41

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

Preview Lab → · Contrast checker → · Palette generator →

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