#339C20#339C20

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

Color values

HEX#339C20
RGBrgb(51, 156, 32)
HSLhsl(111, 66%, 37%)
HSVhsv(111, 79%, 61%)
CMYKcmyk(67.3%, 0%, 79.5%, 38.8%)
CIE-LABlab(56.67, -52.26, 51.81)
CIE-LCHlch(56.67, 73.59, 135.25°)
OKLaboklab(60.93% -0.1429 0.1156)
OKLCHoklch(60.93% 0.184 141)
XYZxyz(13.5137, 24.5836, 5.3992)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C20 #89209C
analogous
#719C20 #339C20 #209C4B
triadic
#339C20 #20339C #9C2033
tetradic
#339C20 #20719C #89209C #9C4B20
square
#339C20 #20719C #89209C #9C4B20
split-complementary
#339C20 #4B209C #9C2071
monochromatic
#12360B #226916 #339C20 #44CF2A #6EDD59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339C20#FFFFFF#000000##000000
##339C201.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)
#94852F
Tritanopia (blue-blind)
#1F9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c20;
/* rgb */ color: rgb(51, 156, 32);
/* oklch */ color: oklch(60.9% 0.184 141.0);
Tailwind
colors: {
  custom: {
    50: '#7aba66',
    500: '#339c20',
    950: '#000000',
  },
}
SCSS
$custom: #339c20;
$custom-light: #7aba66;
$custom-dark: #000000;
JSON
{
  "hex": "#339c20",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 110.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.18379,
    "h": 141
  },
  "luminance": 0.24585
}

Semantic roles & 50–950 ramp

primary
#339C20
secondary
#B157C1
accent
#3FE9CF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339C20

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

Preview Lab → · Contrast checker → · Palette generator →

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