#339C2F#339C2F

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

Color values

HEX#339C2F
RGBrgb(51, 156, 47)
HSLhsl(118, 54%, 40%)
HSVhsv(118, 70%, 61%)
CMYKcmyk(67.3%, 0%, 69.9%, 38.8%)
CIE-LABlab(56.77, -51.07, 46.39)
CIE-LCHlch(56.77, 69.00, 137.75°)
OKLaboklab(61.04% -0.1389 0.1063)
OKLCHoklch(61.04% 0.175 142.6)
XYZxyz(13.7660, 24.6846, 6.7279)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C2F #982F9C
analogous
#6A9C2F #339C2F #2F9C61
triadic
#339C2F #2F339C #9C2F33
tetradic
#339C2F #2F6A9C #982F9C #9C612F
square
#339C2F #2F6A9C #982F9C #9C612F
split-complementary
#339C2F #612F9C #9C2F6A
monochromatic
#143E13 #246D21 #339C2F #47C642 #75D471

Accessibility & contrast

On white

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

On black

5.94
#339C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C2F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C2F#FFFFFF#000000##000000
##339C2F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1F
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#1B9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c2f;
/* rgb */ color: rgb(51, 156, 47);
/* oklch */ color: oklch(61.0% 0.175 142.6);
Tailwind
colors: {
  custom: {
    50: '#79ba6d',
    500: '#339c2f',
    950: '#000000',
  },
}
SCSS
$custom: #339c2f;
$custom-light: #79ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#339c2f",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 117.798,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.17489,
    "h": 142.6
  },
  "luminance": 0.24686
}

Semantic roles & 50–950 ramp

primary
#339C2F
secondary
#B96BBC
accent
#4BDDD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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