#508F41#508F41

#508F41 is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.9% C 0.129 H 139.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#508F41
RGBrgb(80, 143, 65)
HSLhsl(108, 38%, 41%)
HSVhsv(108, 55%, 56%)
CMYKcmyk(44.1%, 0%, 54.5%, 43.9%)
CIE-LABlab(53.74, -36.02, 34.93)
CIE-LCHlch(53.74, 50.17, 135.88°)
OKLaboklab(58.9% -0.0987 0.0833)
OKLCHoklch(58.9% 0.129 139.8)
XYZxyz(14.0843, 21.7312, 8.4524)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F41 #80418F
analogous
#778F41 #508F41 #418F59
triadic
#508F41 #41508F #8F4150
tetradic
#508F41 #41778F #80418F #8F5941
square
#508F41 #41778F #80418F #8F5941
split-complementary
#508F41 #59418F #8F4177
monochromatic
#213B1B #38652E #508F41 #6BB459 #90C784

Accessibility & contrast

On white

3.93
#508F41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#508F41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F41
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F41#FFFFFF#000000##000000
##508F411.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93843A
Deuteranopia (green-blind)
#8A7E46
Tritanopia (blue-blind)
#4B8B7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f41;
/* rgb */ color: rgb(80, 143, 65);
/* oklch */ color: oklch(58.9% 0.129 139.8);
Tailwind
colors: {
  custom: {
    50: '#85b078',
    500: '#508f41',
    950: '#000000',
  },
}
SCSS
$custom: #508f41;
$custom-light: #85b078;
$custom-dark: #000000;
JSON
{
  "hex": "#508f41",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 65
  },
  "hsl": {
    "h": 108.462,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.12915,
    "h": 139.8
  },
  "luminance": 0.21732
}

Semantic roles & 50–950 ramp

primary
#508F41
secondary
#A77AB1
accent
#5ACDB7
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F41

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

Preview Lab → · Contrast checker → · Palette generator →

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