#339F40#339F40

#339F40 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.166 H 145.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#339F40
RGBrgb(51, 159, 64)
HSLhsl(127, 51%, 41%)
HSVhsv(127, 68%, 62%)
CMYKcmyk(67.9%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.91, -50.27, 40.09)
CIE-LCHlch(57.91, 64.30, 141.43°)
OKLaboklab(62.04% -0.1359 0.0947)
OKLCHoklch(62.04% 0.166 145.1)
XYZxyz(14.6878, 25.8687, 9.0686)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F40 #9F3392
analogous
#5C9F33 #339F40 #339F76
triadic
#339F40 #40339F #9F4033
tetradic
#339F40 #335C9F #9F3392 #9F7633
square
#339F40 #335C9F #9F3392 #9F7633
split-complementary
#339F40 #76339F #9F335C
monochromatic
#15421B #24712D #339F40 #4AC559 #79D484

Accessibility & contrast

On white

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

On black

6.17
#339F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F40
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F40#FFFFFF#000000##000000
##339F401.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#958848
Tritanopia (blue-blind)
#119B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f40;
/* rgb */ color: rgb(51, 159, 64);
/* oklch */ color: oklch(62.0% 0.166 145.1);
Tailwind
colors: {
  custom: {
    50: '#79bc78',
    500: '#339f40',
    950: '#000000',
  },
}
SCSS
$custom: #339f40;
$custom-light: #79bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#339f40",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 127.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62041,
    "c": 0.16564,
    "h": 145.1
  },
  "luminance": 0.2587
}

Semantic roles & 50–950 ramp

primary
#339F40
secondary
#BC71B3
accent
#4DCADB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339F40

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

Preview Lab → · Contrast checker → · Palette generator →

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