#339720#339720

#339720 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.6% C 0.178 H 140.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#339720
RGBrgb(51, 151, 32)
HSLhsl(110, 65%, 36%)
HSVhsv(110, 79%, 59%)
CMYKcmyk(66.2%, 0%, 78.8%, 40.8%)
CIE-LABlab(55.01, -50.52, 50.22)
CIE-LCHlch(55.01, 71.23, 135.17°)
OKLaboklab(59.56% -0.1382 0.1123)
OKLCHoklch(59.56% 0.178 140.9)
XYZxyz(12.6919, 22.9400, 5.1252)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339720 #842097
analogous
#6E9720 #339720 #209748
triadic
#339720 #203397 #972033
tetradic
#339720 #206E97 #842097 #974820
square
#339720 #206E97 #842097 #974820
split-complementary
#339720 #482097 #97206E
monochromatic
#11320B #226415 #339720 #44C92B #6BDB56

Accessibility & contrast

On white

3.76
#339720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#339720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339720
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339720#FFFFFF#000000##000000
##3397201.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8901
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#219281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339720;
/* rgb */ color: rgb(51, 151, 32);
/* oklch */ color: oklch(59.6% 0.178 140.9);
Tailwind
colors: {
  custom: {
    50: '#79b765',
    500: '#339720',
    950: '#000000',
  },
}
SCSS
$custom: #339720;
$custom-light: #79b765;
$custom-dark: #000000;
JSON
{
  "hex": "#339720",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 110.42,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.17804,
    "h": 140.9
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#339720
secondary
#AE54BF
accent
#40E8CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339720

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

Preview Lab → · Contrast checker → · Palette generator →

#339720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva