#339C2D#339C2D

#339C2D is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.176 H 142.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#339C2D
RGBrgb(51, 156, 45)
HSLhsl(117, 55%, 39%)
HSVhsv(117, 71%, 61%)
CMYKcmyk(67.3%, 0%, 71.2%, 38.8%)
CIE-LABlab(56.75, -51.26, 47.19)
CIE-LCHlch(56.75, 69.67, 137.37°)
OKLaboklab(61.02% -0.1395 0.1077)
OKLCHoklch(61.02% 0.176 142.3)
XYZxyz(13.7266, 24.6688, 6.5203)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C2D #962D9C
analogous
#6B9C2D #339C2D #2D9C5F
triadic
#339C2D #2D339C #9C2D33
tetradic
#339C2D #2D6B9C #962D9C #9C5F2D
square
#339C2D #2D6B9C #962D9C #9C5F2D
split-complementary
#339C2D #5F2D9C #9C2D6B
monochromatic
#143D12 #236D1F #339C2D #46C83F #74D56E

Accessibility & contrast

On white

3.54
#339C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#339C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C2D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C2D#FFFFFF#000000##000000
##339C2D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1C
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#1C9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c2d;
/* rgb */ color: rgb(51, 156, 45);
/* oklch */ color: oklch(61.0% 0.176 142.3);
Tailwind
colors: {
  custom: {
    50: '#79ba6c',
    500: '#339c2d',
    950: '#000000',
  },
}
SCSS
$custom: #339c2d;
$custom-light: #79ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339c2d",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 116.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.17624,
    "h": 142.3
  },
  "luminance": 0.2467
}

Semantic roles & 50–950 ramp

primary
#339C2D
secondary
#B868BC
accent
#49DFD6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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