#508342#508342

#508342 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.8% C 0.110 H 139.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#508342
RGBrgb(80, 131, 66)
HSLhsl(107, 33%, 39%)
HSVhsv(107, 50%, 51%)
CMYKcmyk(38.9%, 0%, 49.6%, 48.6%)
CIE-LABlab(49.89, -30.39, 29.71)
CIE-LCHlch(49.89, 42.50, 135.64°)
OKLaboklab(55.76% -0.0832 0.0719)
OKLCHoklch(55.76% 0.11 139.2)
XYZxyz(12.4075, 18.3308, 8.0376)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508342 #754283
analogous
#708342 #508342 #428354
triadic
#508342 #425083 #834250
tetradic
#508342 #427083 #754283 #835442
square
#508342 #427083 #754283 #835442
split-complementary
#508342 #544283 #834270
monochromatic
#1E3219 #375A2D #508342 #69AB58 #8EBF80

Accessibility & contrast

On white

4.50
#508342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#508342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508342
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508342#FFFFFF#000000##000000
##5083421.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A3D
Deuteranopia (green-blind)
#7F7546
Tritanopia (blue-blind)
#4D7F74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508342;
/* rgb */ color: rgb(80, 131, 66);
/* oklch */ color: oklch(55.8% 0.110 139.2);
Tailwind
colors: {
  custom: {
    50: '#84a778',
    500: '#508342',
    950: '#000000',
  },
}
SCSS
$custom: #508342;
$custom-light: #84a778;
$custom-dark: #000000;
JSON
{
  "hex": "#508342",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 107.077,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.10995,
    "h": 139.2
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#508342
secondary
#9F77AA
accent
#5FC9B2
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508342

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

Preview Lab → · Contrast checker → · Palette generator →

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