#339C1F#339C1F

#339C1F is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.184 H 140.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#339C1F
RGBrgb(51, 156, 31)
HSLhsl(110, 67%, 37%)
HSVhsv(110, 80%, 61%)
CMYKcmyk(67.3%, 0%, 80.1%, 38.8%)
CIE-LABlab(56.66, -52.32, 52.12)
CIE-LCHlch(56.66, 73.85, 135.11°)
OKLaboklab(60.92% -0.1431 0.1161)
OKLCHoklch(60.92% 0.184 140.9)
XYZxyz(13.5003, 24.5783, 5.3287)
Luminance0.2458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C1F #881F9C
analogous
#729C1F #339C1F #1F9C4A
triadic
#339C1F #1F339C #9C1F33
tetradic
#339C1F #1F729C #881F9C #9C4A1F
square
#339C1F #1F729C #881F9C #9C4A1F
split-complementary
#339C1F #4A1F9C #9C1F72
monochromatic
#12360B #226915 #339C1F #44CF29 #6DDE58

Accessibility & contrast

On white

3.55
#339C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#339C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C1F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C1F#FFFFFF#000000##000000
##339C1F1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#1F9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c1f;
/* rgb */ color: rgb(51, 156, 31);
/* oklch */ color: oklch(60.9% 0.184 140.9);
Tailwind
colors: {
  custom: {
    50: '#7aba65',
    500: '#339c1f',
    950: '#000000',
  },
}
SCSS
$custom: #339c1f;
$custom-light: #7aba65;
$custom-dark: #000000;
JSON
{
  "hex": "#339c1f",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 110.4,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60922,
    "c": 0.18428,
    "h": 140.9
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#339C1F
secondary
#B055C1
accent
#3EEACE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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