#508B41#508B41

#508B41 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.8% C 0.123 H 139.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#508B41
RGBrgb(80, 139, 65)
HSLhsl(108, 36%, 40%)
HSVhsv(108, 53%, 55%)
CMYKcmyk(42.4%, 0%, 53.2%, 45.5%)
CIE-LABlab(52.46, -34.22, 33.38)
CIE-LCHlch(52.46, 47.80, 135.72°)
OKLaboklab(57.85% -0.0938 0.0799)
OKLCHoklch(57.85% 0.123 139.6)
XYZxyz(13.4945, 20.5516, 8.2558)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B41 #7C418B
analogous
#758B41 #508B41 #418B57
triadic
#508B41 #41508B #8B4150
tetradic
#508B41 #41758B #7C418B #8B5741
square
#508B41 #41758B #7C418B #8B5741
split-complementary
#508B41 #57418B #8B4175
monochromatic
#20381A #38612D #508B41 #6AB158 #8FC582

Accessibility & contrast

On white

4.11
#508B41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#508B41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B41
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B41#FFFFFF#000000##000000
##508B411.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F803A
Deuteranopia (green-blind)
#867B46
Tritanopia (blue-blind)
#4C877A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b41;
/* rgb */ color: rgb(80, 139, 65);
/* oklch */ color: oklch(57.8% 0.123 139.6);
Tailwind
colors: {
  custom: {
    50: '#85ad77',
    500: '#508b41',
    950: '#000000',
  },
}
SCSS
$custom: #508b41;
$custom-light: #85ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#508b41",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 65
  },
  "hsl": {
    "h": 107.838,
    "s": 36.275,
    "l": 40
  },
  "oklch": {
    "l": 0.57847,
    "c": 0.12321,
    "h": 139.6
  },
  "luminance": 0.20552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508B41

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

Preview Lab → · Contrast checker → · Palette generator →

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