#339D2D#339D2D

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

Color values

HEX#339D2D
RGBrgb(51, 157, 45)
HSLhsl(117, 55%, 40%)
HSVhsv(117, 71%, 62%)
CMYKcmyk(67.5%, 0%, 71.3%, 38.4%)
CIE-LABlab(57.08, -51.61, 47.53)
CIE-LCHlch(57.08, 70.16, 137.35°)
OKLaboklab(61.3% -0.1404 0.1084)
OKLCHoklch(61.3% 0.177 142.3)
XYZxyz(13.8951, 25.0058, 6.5764)
Luminance0.2501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D2D #972D9D
analogous
#6B9D2D #339D2D #2D9D5F
triadic
#339D2D #2D339D #9D2D33
tetradic
#339D2D #2D6B9D #972D9D #9D5F2D
square
#339D2D #2D6B9D #972D9D #9D5F2D
split-complementary
#339D2D #5F2D9D #9D2D6B
monochromatic
#143E12 #246D1F #339D2D #47C83F #74D66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339D2D#FFFFFF#000000##000000
##339D2D1.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)
#A18E1B
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#1B9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d2d;
/* rgb */ color: rgb(51, 157, 45);
/* oklch */ color: oklch(61.3% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#79bb6c',
    500: '#339d2d',
    950: '#000000',
  },
}
SCSS
$custom: #339d2d;
$custom-light: #79bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339d2d",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 116.786,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.17744,
    "h": 142.3
  },
  "luminance": 0.25007
}

Semantic roles & 50–950 ramp

primary
#339D2D
secondary
#B869BD
accent
#49DFD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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