#339F42#339F42

#339F42 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.1% C 0.164 H 145.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#339F42
RGBrgb(51, 159, 66)
HSLhsl(128, 51%, 41%)
HSVhsv(128, 68%, 62%)
CMYKcmyk(67.9%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.93, -50.02, 39.16)
CIE-LCHlch(57.93, 63.52, 141.94°)
OKLaboklab(62.07% -0.1351 0.0928)
OKLCHoklch(62.07% 0.164 145.5)
XYZxyz(14.7458, 25.8919, 9.3737)
Luminance0.2589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F42 #9F3390
analogous
#5A9F33 #339F42 #339F78
triadic
#339F42 #42339F #9F4233
tetradic
#339F42 #335A9F #9F3390 #9F7833
square
#339F42 #335A9F #9F3390 #9F7833
split-complementary
#339F42 #78339F #9F335A
monochromatic
#15421C #24712F #339F42 #4AC55B #79D485

Accessibility & contrast

On white

3.40
#339F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#339F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F42
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F42#FFFFFF#000000##000000
##339F421.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19139
Deuteranopia (green-blind)
#948849
Tritanopia (blue-blind)
#109B8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f42;
/* rgb */ color: rgb(51, 159, 66);
/* oklch */ color: oklch(62.1% 0.164 145.5);
Tailwind
colors: {
  custom: {
    50: '#79bc79',
    500: '#339f42',
    950: '#000000',
  },
}
SCSS
$custom: #339f42;
$custom-light: #79bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#339f42",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 128.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.16395,
    "h": 145.5
  },
  "luminance": 0.25893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339F42

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

Preview Lab → · Contrast checker → · Palette generator →

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