#509342#509342

#509342 is a mid, vivid green. Relative luminance 0.230; OKLCH L 60.0% C 0.134 H 140.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#509342
RGBrgb(80, 147, 66)
HSLhsl(110, 38%, 42%)
HSVhsv(110, 55%, 58%)
CMYKcmyk(45.6%, 0%, 55.1%, 42.4%)
CIE-LABlab(55.04, -37.65, 35.97)
CIE-LCHlch(55.04, 52.08, 136.31°)
OKLaboklab(59.96% -0.1031 0.0857)
OKLCHoklch(59.96% 0.134 140.3)
XYZxyz(14.7248, 22.9653, 8.8101)
Luminance0.2297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#509342 #854293
analogous
#799342 #509342 #42935D
triadic
#509342 #425093 #934250
tetradic
#509342 #427993 #854293 #935D42
square
#509342 #427993 #854293 #935D42
split-complementary
#509342 #5D4293 #934279
monochromatic
#223F1C #39692F #509342 #6CB65C #92C987

Accessibility & contrast

On white

3.75
#509342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#509342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #509342
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##509342#FFFFFF#000000##000000
##5093421.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#8D8148
Tritanopia (blue-blind)
#4A8F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #509342;
/* rgb */ color: rgb(80, 147, 66);
/* oklch */ color: oklch(60.0% 0.134 140.3);
Tailwind
colors: {
  custom: {
    50: '#86b378',
    500: '#509342',
    950: '#000000',
  },
}
SCSS
$custom: #509342;
$custom-light: #86b378;
$custom-dark: #000000;
JSON
{
  "hex": "#509342",
  "rgb": {
    "r": 80,
    "g": 147,
    "b": 66
  },
  "hsl": {
    "h": 109.63,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.13404,
    "h": 140.3
  },
  "luminance": 0.22966
}

Semantic roles & 50–950 ramp

primary
#509342
secondary
#AA7DB4
accent
#5ACEBA
background
#F8FBF7
surface
#F0F6ED
border
#CBD0C8
text
#0B1109
muted
#7C807B

Preview Lab

Preview with #509342

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

Preview Lab → · Contrast checker → · Palette generator →

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