#339D2F#339D2F

#339D2F is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.176 H 142.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#339D2F
RGBrgb(51, 157, 47)
HSLhsl(118, 54%, 40%)
HSVhsv(118, 70%, 62%)
CMYKcmyk(67.5%, 0%, 70.1%, 38.4%)
CIE-LABlab(57.10, -51.42, 46.74)
CIE-LCHlch(57.10, 69.49, 137.73°)
OKLaboklab(61.32% -0.1398 0.107)
OKLCHoklch(61.32% 0.176 142.6)
XYZxyz(13.9345, 25.0215, 6.7841)
Luminance0.2502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D2F #992F9D
analogous
#6A9D2F #339D2F #2F9D62
triadic
#339D2F #2F339D #9D2F33
tetradic
#339D2F #2F6A9D #992F9D #9D622F
square
#339D2F #2F6A9D #992F9D #9D622F
split-complementary
#339D2F #622F9D #9D2F6A
monochromatic
#143F13 #246E21 #339D2F #47C743 #75D572

Accessibility & contrast

On white

3.50
#339D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#339D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D2F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D2F#FFFFFF#000000##000000
##339D2F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1F
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#1A9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d2f;
/* rgb */ color: rgb(51, 157, 47);
/* oklch */ color: oklch(61.3% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#79bb6e',
    500: '#339d2f',
    950: '#000000',
  },
}
SCSS
$custom: #339d2f;
$custom-light: #79bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#339d2f",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 117.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.61315,
    "c": 0.17611,
    "h": 142.6
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#339D2F
secondary
#B96BBC
accent
#4BDDD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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