#339E41#339E41

#339E41 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.8% C 0.164 H 145.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#339E41
RGBrgb(51, 158, 65)
HSLhsl(128, 51%, 41%)
HSVhsv(128, 68%, 62%)
CMYKcmyk(67.7%, 0%, 58.9%, 38%)
CIE-LABlab(57.60, -49.78, 39.25)
CIE-LCHlch(57.60, 63.39, 141.75°)
OKLaboklab(61.78% -0.1345 0.0929)
OKLCHoklch(61.78% 0.164 145.4)
XYZxyz(14.5453, 25.5377, 9.1627)
Luminance0.2554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E41 #9E3390
analogous
#5B9E33 #339E41 #339E76
triadic
#339E41 #41339E #9E4133
tetradic
#339E41 #335B9E #9E3390 #9E7633
square
#339E41 #335B9E #9E3390 #9E7633
split-complementary
#339E41 #76339E #9E335B
monochromatic
#15411B #24702E #339E41 #4AC45A #78D384

Accessibility & contrast

On white

3.44
#339E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#339E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E41
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E41#FFFFFF#000000##000000
##339E411.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19038
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#129A8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e41;
/* rgb */ color: rgb(51, 158, 65);
/* oklch */ color: oklch(61.8% 0.164 145.4);
Tailwind
colors: {
  custom: {
    50: '#79bc78',
    500: '#339e41',
    950: '#000000',
  },
}
SCSS
$custom: #339e41;
$custom-light: #79bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#339e41",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 65
  },
  "hsl": {
    "h": 127.85,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.16352,
    "h": 145.4
  },
  "luminance": 0.25539
}

Semantic roles & 50–950 ramp

primary
#339E41
secondary
#BC71B2
accent
#4DC8DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339E41

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

Preview Lab → · Contrast checker → · Palette generator →

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