#339E2D#339E2D

#339E2D is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.6% C 0.179 H 142.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#339E2D
RGBrgb(51, 158, 45)
HSLhsl(117, 56%, 40%)
HSVhsv(117, 72%, 62%)
CMYKcmyk(67.7%, 0%, 71.5%, 38%)
CIE-LABlab(57.41, -51.96, 47.87)
CIE-LCHlch(57.41, 70.65, 137.34°)
OKLaboklab(61.57% -0.1414 0.1092)
OKLCHoklch(61.57% 0.179 142.3)
XYZxyz(14.0650, 25.3455, 6.6331)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E2D #982D9E
analogous
#6C9E2D #339E2D #2D9E5F
triadic
#339E2D #2D339E #9E2D33
tetradic
#339E2D #2D6C9E #982D9E #9E5F2D
square
#339E2D #2D6C9E #982D9E #9E5F2D
split-complementary
#339E2D #5F2D9E #9E2D6C
monochromatic
#143F12 #246E1F #339E2D #47C940 #75D66F

Accessibility & contrast

On white

3.46
#339E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#339E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E2D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E2D#FFFFFF#000000##000000
##339E2D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1B
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#1A9988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e2d;
/* rgb */ color: rgb(51, 158, 45);
/* oklch */ color: oklch(61.6% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#7abc6d',
    500: '#339e2d',
    950: '#000000',
  },
}
SCSS
$custom: #339e2d;
$custom-light: #7abc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#339e2d",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 116.814,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.17863,
    "h": 142.3
  },
  "luminance": 0.25347
}

Semantic roles & 50–950 ramp

primary
#339E2D
secondary
#B969BD
accent
#49DFD7
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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