#339E31#339E31

#339E31 is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.6% C 0.176 H 142.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#339E31
RGBrgb(51, 158, 49)
HSLhsl(119, 53%, 41%)
HSVhsv(119, 69%, 62%)
CMYKcmyk(67.7%, 0%, 69%, 38%)
CIE-LABlab(57.44, -51.59, 46.28)
CIE-LCHlch(57.44, 69.31, 138.10°)
OKLaboklab(61.61% -0.1402 0.1063)
OKLCHoklch(61.61% 0.176 142.8)
XYZxyz(14.1457, 25.3778, 7.0581)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E31 #9C319E
analogous
#699E31 #339E31 #319E65
triadic
#339E31 #31339E #9E3133
tetradic
#339E31 #31699E #9C319E #9E6531
square
#339E31 #31699E #9C319E #9E6531
split-complementary
#339E31 #65319E #9E3169
monochromatic
#154114 #246F23 #339E31 #49C646 #77D475

Accessibility & contrast

On white

3.46
#339E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#339E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E31
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E31#FFFFFF#000000##000000
##339E311.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F22
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#199988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e31;
/* rgb */ color: rgb(51, 158, 49);
/* oklch */ color: oklch(61.6% 0.176 142.8);
Tailwind
colors: {
  custom: {
    50: '#79bc6f',
    500: '#339e31',
    950: '#000000',
  },
}
SCSS
$custom: #339e31;
$custom-light: #79bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#339e31",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 118.899,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.17594,
    "h": 142.8
  },
  "luminance": 0.25379
}

Semantic roles & 50–950 ramp

primary
#339E31
secondary
#BB6EBC
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339E31

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

Preview Lab → · Contrast checker → · Palette generator →

#339E31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva