#339D42#339D42

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

Color values

HEX#339D42
RGBrgb(51, 157, 66)
HSLhsl(128, 51%, 41%)
HSVhsv(128, 68%, 62%)
CMYKcmyk(67.5%, 0%, 58%, 38.4%)
CIE-LABlab(57.28, -49.28, 38.39)
CIE-LCHlch(57.28, 62.47, 142.08°)
OKLaboklab(61.53% -0.1332 0.0911)
OKLCHoklch(61.53% 0.161 145.6)
XYZxyz(14.4046, 25.2096, 9.2600)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D42 #9D338E
analogous
#599D33 #339D42 #339D77
triadic
#339D42 #42339D #9D4233
tetradic
#339D42 #33599D #9D338E #9D7733
square
#339D42 #33599D #9D338E #9D7733
split-complementary
#339D42 #77339D #9D3359
monochromatic
#15411B #246F2F #339D42 #49C45B #77D384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339D42#FFFFFF#000000##000000
##339D421.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)
#9F8F39
Deuteranopia (green-blind)
#938649
Tritanopia (blue-blind)
#129989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d42;
/* rgb */ color: rgb(51, 157, 66);
/* oklch */ color: oklch(61.5% 0.161 145.6);
Tailwind
colors: {
  custom: {
    50: '#78bb79',
    500: '#339d42',
    950: '#000000',
  },
}
SCSS
$custom: #339d42;
$custom-light: #78bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#339d42",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 66
  },
  "hsl": {
    "h": 128.491,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61525,
    "c": 0.16136,
    "h": 145.6
  },
  "luminance": 0.25211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339D42

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

Preview Lab → · Contrast checker → · Palette generator →

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