#508D45#508D45

#508D45 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.4% C 0.122 H 140.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#508D45
RGBrgb(80, 141, 69)
HSLhsl(111, 34%, 41%)
HSVhsv(111, 51%, 55%)
CMYKcmyk(43.3%, 0%, 51.1%, 44.7%)
CIE-LABlab(53.15, -34.59, 32.15)
CIE-LCHlch(53.15, 47.23, 137.09°)
OKLaboklab(58.43% -0.0945 0.0775)
OKLCHoklch(58.43% 0.122 140.7)
XYZxyz(13.9068, 21.1841, 8.9852)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D45 #82458D
analogous
#748D45 #508D45 #458D5E
triadic
#508D45 #45508D #8D4550
tetradic
#508D45 #45748D #82458D #8D5E45
square
#508D45 #45748D #82458D #8D5E45
split-complementary
#508D45 #5E458D #8D4574
monochromatic
#213B1D #396431 #508D45 #6BB15F #91C588

Accessibility & contrast

On white

4.01
#508D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#508D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508D45
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508D45#FFFFFF#000000##000000
##508D451.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90823F
Deuteranopia (green-blind)
#887D4A
Tritanopia (blue-blind)
#4B897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d45;
/* rgb */ color: rgb(80, 141, 69);
/* oklch */ color: oklch(58.4% 0.122 140.7);
Tailwind
colors: {
  custom: {
    50: '#85af7a',
    500: '#508d45',
    950: '#000000',
  },
}
SCSS
$custom: #508d45;
$custom-light: #85af7a;
$custom-dark: #000000;
JSON
{
  "hex": "#508d45",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 110.833,
    "s": 34.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.12224,
    "h": 140.7
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#508D45
secondary
#A87EB0
accent
#5DCABA
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D45

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

Preview Lab → · Contrast checker → · Palette generator →

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