#339721#339721

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

Color values

HEX#339721
RGBrgb(51, 151, 33)
HSLhsl(111, 64%, 36%)
HSVhsv(111, 78%, 59%)
CMYKcmyk(66.2%, 0%, 78.1%, 40.8%)
CIE-LABlab(55.02, -50.45, 49.89)
CIE-LCHlch(55.02, 70.95, 135.32°)
OKLaboklab(59.56% -0.138 0.1117)
OKLCHoklch(59.56% 0.178 141)
XYZxyz(12.7057, 22.9456, 5.1979)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339721 #852197
analogous
#6E9721 #339721 #21974A
triadic
#339721 #213397 #972133
tetradic
#339721 #216E97 #852197 #974A21
square
#339721 #216E97 #852197 #974A21
split-complementary
#339721 #4A2197 #97216E
monochromatic
#11330B #226516 #339721 #44C92C #6CDA58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339721#FFFFFF#000000##000000
##3397211.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)
#9B8903
Deuteranopia (green-blind)
#8F812E
Tritanopia (blue-blind)
#219281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339721;
/* rgb */ color: rgb(51, 151, 33);
/* oklch */ color: oklch(59.6% 0.178 141.0);
Tailwind
colors: {
  custom: {
    50: '#79b766',
    500: '#339721',
    950: '#000000',
  },
}
SCSS
$custom: #339721;
$custom-light: #79b766;
$custom-dark: #000000;
JSON
{
  "hex": "#339721",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 110.847,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.17752,
    "h": 141
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#339721
secondary
#AE55BE
accent
#41E7CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339721

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

Preview Lab → · Contrast checker → · Palette generator →

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