#508D46#508D46

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

Color values

HEX#508D46
RGBrgb(80, 141, 70)
HSLhsl(112, 34%, 41%)
HSVhsv(112, 50%, 55%)
CMYKcmyk(43.3%, 0%, 50.4%, 44.7%)
CIE-LABlab(53.16, -34.45, 31.65)
CIE-LCHlch(53.16, 46.78, 137.43°)
OKLaboklab(58.45% -0.0941 0.0764)
OKLCHoklch(58.45% 0.121 140.9)
XYZxyz(13.9381, 21.1966, 9.1501)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508D46 #83468D
analogous
#748D46 #508D46 #468D60
triadic
#508D46 #46508D #8D4650
tetradic
#508D46 #46748D #83468D #8D6046
square
#508D46 #46748D #83468D #8D6046
split-complementary
#508D46 #60468D #8D4674
monochromatic
#223B1D #396432 #508D46 #6BB060 #91C489

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508D46#FFFFFF#000000##000000
##508D461.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)
#908240
Deuteranopia (green-blind)
#887D4B
Tritanopia (blue-blind)
#4A897C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #508d46;
/* rgb */ color: rgb(80, 141, 70);
/* oklch */ color: oklch(58.4% 0.121 140.9);
Tailwind
colors: {
  custom: {
    50: '#85af7b',
    500: '#508d46',
    950: '#000000',
  },
}
SCSS
$custom: #508d46;
$custom-light: #85af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#508d46",
  "rgb": {
    "r": 80,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 111.549,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.12124,
    "h": 140.9
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#508D46
secondary
#A97FB0
accent
#5ECABB
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508D46

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

Preview Lab → · Contrast checker → · Palette generator →

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