#339D40#339D40

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

Color values

HEX#339D40
RGBrgb(51, 157, 64)
HSLhsl(127, 51%, 41%)
HSVhsv(127, 68%, 62%)
CMYKcmyk(67.5%, 0%, 59.2%, 38.4%)
CIE-LABlab(57.26, -49.54, 39.33)
CIE-LCHlch(57.26, 63.25, 141.56°)
OKLaboklab(61.5% -0.1339 0.093)
OKLCHoklch(61.5% 0.163 145.2)
XYZxyz(14.3467, 25.1864, 8.9549)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D40 #9D3390
analogous
#5B9D33 #339D40 #339D75
triadic
#339D40 #40339D #9D4033
tetradic
#339D40 #335B9D #9D3390 #9D7533
square
#339D40 #335B9D #9D3390 #9D7533
split-complementary
#339D40 #75339D #9D335B
monochromatic
#15411A #246F2D #339D40 #49C458 #77D383

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339D40#FFFFFF#000000##000000
##339D401.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)
#A08F37
Deuteranopia (green-blind)
#938647
Tritanopia (blue-blind)
#139989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d40;
/* rgb */ color: rgb(51, 157, 64);
/* oklch */ color: oklch(61.5% 0.163 145.2);
Tailwind
colors: {
  custom: {
    50: '#79bb78',
    500: '#339d40',
    950: '#000000',
  },
}
SCSS
$custom: #339d40;
$custom-light: #79bb78;
$custom-dark: #000000;
JSON
{
  "hex": "#339d40",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 64
  },
  "hsl": {
    "h": 127.358,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.16307,
    "h": 145.2
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#339D40
secondary
#BB70B2
accent
#4DC9DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339D40

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

Preview Lab → · Contrast checker → · Palette generator →

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