#339D3E#339D3E

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

Color values

HEX#339D3E
RGBrgb(51, 157, 62)
HSLhsl(126, 51%, 41%)
HSVhsv(126, 68%, 62%)
CMYKcmyk(67.5%, 0%, 60.5%, 38.4%)
CIE-LABlab(57.23, -49.79, 40.26)
CIE-LCHlch(57.23, 64.03, 141.05°)
OKLaboklab(61.47% -0.1347 0.0949)
OKLCHoklch(61.47% 0.165 144.9)
XYZxyz(14.2908, 25.1641, 8.6605)
Luminance0.2517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D3E #9D3392
analogous
#5D9D33 #339D3E #339D73
triadic
#339D3E #3E339D #9D3E33
tetradic
#339D3E #335D9D #9D3392 #9D7333
square
#339D3E #335D9D #9D3392 #9D7333
split-complementary
#339D3E #73339D #9D335D
monochromatic
#15411A #246F2C #339D3E #49C456 #77D381

Accessibility & contrast

On white

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

On black

6.03
#339D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D3E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D3E#FFFFFF#000000##000000
##339D3E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F34
Deuteranopia (green-blind)
#938646
Tritanopia (blue-blind)
#149988
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d3e;
/* rgb */ color: rgb(51, 157, 62);
/* oklch */ color: oklch(61.5% 0.165 144.9);
Tailwind
colors: {
  custom: {
    50: '#79bb76',
    500: '#339d3e',
    950: '#000000',
  },
}
SCSS
$custom: #339d3e;
$custom-light: #79bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#339d3e",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 62
  },
  "hsl": {
    "h": 126.226,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.16475,
    "h": 144.9
  },
  "luminance": 0.25166
}

Semantic roles & 50–950 ramp

primary
#339D3E
secondary
#BB70B4
accent
#4DCCDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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