#508F42#508F42

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

Color values

HEX#508F42
RGBrgb(80, 143, 66)
HSLhsl(109, 37%, 41%)
HSVhsv(109, 54%, 56%)
CMYKcmyk(44.1%, 0%, 53.8%, 43.9%)
CIE-LABlab(53.75, -35.89, 34.43)
CIE-LCHlch(53.75, 49.74, 136.19°)
OKLaboklab(58.91% -0.0982 0.0823)
OKLCHoklch(58.91% 0.128 140)
XYZxyz(14.1136, 21.7429, 8.6063)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F42 #81428F
analogous
#768F42 #508F42 #428F5A
triadic
#508F42 #42508F #8F4250
tetradic
#508F42 #42768F #81428F #8F5A42
square
#508F42 #42768F #81428F #8F5A42
split-complementary
#508F42 #5A428F #8F4276
monochromatic
#213B1B #39652F #508F42 #6BB35B #91C785

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F42#FFFFFF#000000##000000
##508F421.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)
#93843B
Deuteranopia (green-blind)
#8A7E47
Tritanopia (blue-blind)
#4B8B7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f42;
/* rgb */ color: rgb(80, 143, 66);
/* oklch */ color: oklch(58.9% 0.128 140.0);
Tailwind
colors: {
  custom: {
    50: '#85b078',
    500: '#508f42',
    950: '#000000',
  },
}
SCSS
$custom: #508f42;
$custom-light: #85b078;
$custom-dark: #000000;
JSON
{
  "hex": "#508f42",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 66
  },
  "hsl": {
    "h": 109.091,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.12818,
    "h": 140
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#508F42
secondary
#A87BB1
accent
#5BCDB8
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F42

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

Preview Lab → · Contrast checker → · Palette generator →

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