#339D41#339D41

#339D41 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.5% C 0.162 H 145.4°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#339D41
RGBrgb(51, 157, 65)
HSLhsl(128, 51%, 41%)
HSVhsv(128, 68%, 62%)
CMYKcmyk(67.5%, 0%, 58.6%, 38.4%)
CIE-LABlab(57.27, -49.41, 38.86)
CIE-LCHlch(57.27, 62.86, 141.82°)
OKLaboklab(61.51% -0.1336 0.0921)
OKLCHoklch(61.51% 0.162 145.4)
XYZxyz(14.3754, 25.1979, 9.1061)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D41 #9D338F
analogous
#5A9D33 #339D41 #339D76
triadic
#339D41 #41339D #9D4133
tetradic
#339D41 #335A9D #9D338F #9D7633
square
#339D41 #335A9D #9D338F #9D7633
split-complementary
#339D41 #76339D #9D335A
monochromatic
#15411B #246F2E #339D41 #49C459 #77D384

Accessibility & contrast

On white

3.48
#339D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#339D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D41
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D41#FFFFFF#000000##000000
##339D411.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F38
Deuteranopia (green-blind)
#938648
Tritanopia (blue-blind)
#129989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d41;
/* rgb */ color: rgb(51, 157, 65);
/* oklch */ color: oklch(61.5% 0.162 145.4);
Tailwind
colors: {
  custom: {
    50: '#78bb78',
    500: '#339d41',
    950: '#000000',
  },
}
SCSS
$custom: #339d41;
$custom-light: #78bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#339d41",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 65
  },
  "hsl": {
    "h": 127.925,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.16223,
    "h": 145.4
  },
  "luminance": 0.25199
}

Semantic roles & 50–950 ramp

primary
#339D41
secondary
#BB70B1
accent
#4DC8DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339D41

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

Preview Lab → · Contrast checker → · Palette generator →

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