#339F2D#339F2D

#339F2D is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.180 H 142.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#339F2D
RGBrgb(51, 159, 45)
HSLhsl(117, 56%, 40%)
HSVhsv(117, 72%, 62%)
CMYKcmyk(67.9%, 0%, 71.7%, 37.6%)
CIE-LABlab(57.74, -52.31, 48.22)
CIE-LCHlch(57.74, 71.14, 137.33°)
OKLaboklab(61.84% -0.1423 0.1099)
OKLCHoklch(61.84% 0.18 142.3)
XYZxyz(14.2362, 25.6881, 6.6902)
Luminance0.2569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2D #992D9F
analogous
#6C9F2D #339F2D #2D9F60
triadic
#339F2D #2D339F #9F2D33
tetradic
#339F2D #2D6C9F #992D9F #9F602D
square
#339F2D #2D6C9F #992D9F #9F602D
split-complementary
#339F2D #602D9F #9F2D6C
monochromatic
#144012 #246F20 #339F2D #47C940 #75D670

Accessibility & contrast

On white

3.42
#339F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#339F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F2D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F2D#FFFFFF#000000##000000
##339F2D1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2d;
/* rgb */ color: rgb(51, 159, 45);
/* oklch */ color: oklch(61.8% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#7abc6d',
    500: '#339f2d',
    950: '#000000',
  },
}
SCSS
$custom: #339f2d;
$custom-light: #7abc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2d",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 116.842,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.17982,
    "h": 142.3
  },
  "luminance": 0.2569
}

Semantic roles & 50–950 ramp

primary
#339F2D
secondary
#B96ABE
accent
#49DFD7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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