#508A45#508A45

#508A45 is a mid, moderate green. Relative luminance 0.203; OKLCH L 57.6% C 0.118 H 140.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#508A45
RGBrgb(80, 138, 69)
HSLhsl(110, 33%, 41%)
HSVhsv(110, 50%, 54%)
CMYKcmyk(42%, 0%, 50%, 45.9%)
CIE-LABlab(52.19, -33.23, 30.96)
CIE-LCHlch(52.19, 45.42, 137.02°)
OKLaboklab(57.65% -0.0908 0.0748)
OKLCHoklch(57.65% 0.118 140.5)
XYZxyz(13.4704, 20.3113, 8.8398)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A45 #7F458A
analogous
#728A45 #508A45 #458A5C
triadic
#508A45 #45508A #8A4550
tetradic
#508A45 #45728A #7F458A #8A5C45
square
#508A45 #45728A #7F458A #8A5C45
split-complementary
#508A45 #5C458A #8A4572
monochromatic
#21381C #386131 #508A45 #6BAE5E #90C387

Accessibility & contrast

On white

4.15
#508A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#508A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A45
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A45#FFFFFF#000000##000000
##508A451.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D803F
Deuteranopia (green-blind)
#857A4A
Tritanopia (blue-blind)
#4B867A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a45;
/* rgb */ color: rgb(80, 138, 69);
/* oklch */ color: oklch(57.6% 0.118 140.5);
Tailwind
colors: {
  custom: {
    50: '#85ac7a',
    500: '#508a45',
    950: '#000000',
  },
}
SCSS
$custom: #508a45;
$custom-light: #85ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#508a45",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 110.435,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.11768,
    "h": 140.5
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#508A45
secondary
#A67DAE
accent
#5EC9B8
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508A45

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

Preview Lab → · Contrast checker → · Palette generator →

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