#339D2E#339D2E

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

Color values

HEX#339D2E
RGBrgb(51, 157, 46)
HSLhsl(117, 55%, 40%)
HSVhsv(117, 71%, 62%)
CMYKcmyk(67.5%, 0%, 70.7%, 38.4%)
CIE-LABlab(57.09, -51.52, 47.14)
CIE-LCHlch(57.09, 69.83, 137.54°)
OKLaboklab(61.31% -0.1401 0.1077)
OKLCHoklch(61.31% 0.177 142.4)
XYZxyz(13.9146, 25.0136, 6.6790)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D2E #982E9D
analogous
#6B9D2E #339D2E #2E9D60
triadic
#339D2E #2E339D #9D2E33
tetradic
#339D2E #2E6B9D #982E9D #9D602E
square
#339D2E #2E6B9D #982E9D #9D602E
split-complementary
#339D2E #602E9D #9D2E6B
monochromatic
#143E12 #246E20 #339D2E #47C741 #75D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339D2E#FFFFFF#000000##000000
##339D2E1.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)
#A18E1D
Deuteranopia (green-blind)
#948639
Tritanopia (blue-blind)
#1B9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d2e;
/* rgb */ color: rgb(51, 157, 46);
/* oklch */ color: oklch(61.3% 0.177 142.4);
Tailwind
colors: {
  custom: {
    50: '#79bb6d',
    500: '#339d2e',
    950: '#000000',
  },
}
SCSS
$custom: #339d2e;
$custom-light: #79bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#339d2e",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 117.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.17678,
    "h": 142.4
  },
  "luminance": 0.25015
}

Semantic roles & 50–950 ramp

primary
#339D2E
secondary
#B96ABD
accent
#4ADED7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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