#508B45#508B45

#508B45 is a mid, moderate green. Relative luminance 0.206; OKLCH L 57.9% C 0.119 H 140.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#508B45
RGBrgb(80, 139, 69)
HSLhsl(111, 34%, 41%)
HSVhsv(111, 50%, 55%)
CMYKcmyk(42.4%, 0%, 50.4%, 45.5%)
CIE-LABlab(52.51, -33.68, 31.36)
CIE-LCHlch(52.51, 46.02, 137.05°)
OKLaboklab(57.91% -0.0921 0.0757)
OKLCHoklch(57.91% 0.119 140.6)
XYZxyz(13.6145, 20.5996, 8.8878)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B45 #80458B
analogous
#738B45 #508B45 #458B5D
triadic
#508B45 #45508B #8B4550
tetradic
#508B45 #45738B #80458B #8B5D45
square
#508B45 #45738B #80458B #8B5D45
split-complementary
#508B45 #5D458B #8B4573
monochromatic
#21391C #386231 #508B45 #6BAF5E #90C387

Accessibility & contrast

On white

4.10
#508B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#508B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B45
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B45#FFFFFF#000000##000000
##508B451.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E813F
Deuteranopia (green-blind)
#867B4A
Tritanopia (blue-blind)
#4B877B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b45;
/* rgb */ color: rgb(80, 139, 69);
/* oklch */ color: oklch(57.9% 0.119 140.6);
Tailwind
colors: {
  custom: {
    50: '#85ad7a',
    500: '#508b45',
    950: '#000000',
  },
}
SCSS
$custom: #508b45;
$custom-light: #85ad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#508b45",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 110.571,
    "s": 33.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.11922,
    "h": 140.6
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#508B45
secondary
#A77DAF
accent
#5ECAB9
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508B45

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

Preview Lab → · Contrast checker → · Palette generator →

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