#339E42#339E42

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

Color values

HEX#339E42
RGBrgb(51, 158, 66)
HSLhsl(128, 51%, 41%)
HSVhsv(128, 68%, 62%)
CMYKcmyk(67.7%, 0%, 58.2%, 38%)
CIE-LABlab(57.61, -49.65, 38.78)
CIE-LCHlch(57.61, 63.00, 142.01°)
OKLaboklab(61.8% -0.1342 0.092)
OKLCHoklch(61.8% 0.163 145.6)
XYZxyz(14.5745, 25.5493, 9.3166)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E42 #9E338F
analogous
#599E33 #339E42 #339E77
triadic
#339E42 #42339E #9E4233
tetradic
#339E42 #33599E #9E338F #9E7733
square
#339E42 #33599E #9E338F #9E7733
split-complementary
#339E42 #77339E #9E3359
monochromatic
#15411B #24702F #339E42 #4AC45B #78D385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339E42#FFFFFF#000000##000000
##339E421.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)
#A09039
Deuteranopia (green-blind)
#948749
Tritanopia (blue-blind)
#119A8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e42;
/* rgb */ color: rgb(51, 158, 66);
/* oklch */ color: oklch(61.8% 0.163 145.6);
Tailwind
colors: {
  custom: {
    50: '#79bc79',
    500: '#339e42',
    950: '#000000',
  },
}
SCSS
$custom: #339e42;
$custom-light: #79bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#339e42",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 128.411,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.16266,
    "h": 145.6
  },
  "luminance": 0.25551
}

Semantic roles & 50–950 ramp

primary
#339E42
secondary
#BC71B1
accent
#4DC7DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339E42

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

Preview Lab → · Contrast checker → · Palette generator →

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