#508642#508642

#508642 is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.5% C 0.115 H 139.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#508642
RGBrgb(80, 134, 66)
HSLhsl(108, 34%, 39%)
HSVhsv(108, 51%, 53%)
CMYKcmyk(40.3%, 0%, 50.7%, 47.5%)
CIE-LABlab(50.86, -31.79, 30.91)
CIE-LCHlch(50.86, 44.34, 135.81°)
OKLaboklab(56.55% -0.0871 0.0745)
OKLCHoklch(56.55% 0.115 139.4)
XYZxyz(12.8163, 19.1483, 8.1739)
Luminance0.1915 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508642 #784286
analogous
#728642 #508642 #428656
triadic
#508642 #425086 #864250
tetradic
#508642 #427286 #784286 #865642
square
#508642 #427286 #784286 #865642
split-complementary
#508642 #564286 #864272
monochromatic
#1F341A #385D2E #508642 #6AAD58 #8EC181

Accessibility & contrast

On white

4.35
#508642 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#508642 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508642
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508642#FFFFFF#000000##000000
##5086421.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3C
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#4C8276
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #508642;
/* rgb */ color: rgb(80, 134, 66);
/* oklch */ color: oklch(56.5% 0.115 139.4);
Tailwind
colors: {
  custom: {
    50: '#84a978',
    500: '#508642',
    950: '#000000',
  },
}
SCSS
$custom: #508642;
$custom-light: #84a978;
$custom-dark: #000000;
JSON
{
  "hex": "#508642",
  "rgb": {
    "r": 80,
    "g": 134,
    "b": 66
  },
  "hsl": {
    "h": 107.647,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.11461,
    "h": 139.4
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#508642
secondary
#A178AC
accent
#5ECAB4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508642

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

Preview Lab → · Contrast checker → · Palette generator →

#508642 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva