#339722#339722

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

Color values

HEX#339722
RGBrgb(51, 151, 34)
HSLhsl(111, 63%, 36%)
HSVhsv(111, 77%, 59%)
CMYKcmyk(66.2%, 0%, 77.5%, 40.8%)
CIE-LABlab(55.02, -50.38, 49.55)
CIE-LCHlch(55.02, 70.66, 135.47°)
OKLaboklab(59.57% -0.1377 0.1112)
OKLCHoklch(59.57% 0.177 141.1)
XYZxyz(12.7199, 22.9512, 5.2728)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339722 #862297
analogous
#6E9722 #339722 #22974C
triadic
#339722 #223397 #972233
tetradic
#339722 #226E97 #862297 #974C22
square
#339722 #226E97 #862297 #974C22
split-complementary
#339722 #4C2297 #97226E
monochromatic
#11330C #226517 #339722 #44C92D #6CDA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339722#FFFFFF#000000##000000
##3397221.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)
#9B8906
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#219281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #339722;
/* rgb */ color: rgb(51, 151, 34);
/* oklch */ color: oklch(59.6% 0.177 141.1);
Tailwind
colors: {
  custom: {
    50: '#79b766',
    500: '#339722',
    950: '#000000',
  },
}
SCSS
$custom: #339722;
$custom-light: #79b766;
$custom-dark: #000000;
JSON
{
  "hex": "#339722",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 111.282,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.17698,
    "h": 141.1
  },
  "luminance": 0.22953
}

Semantic roles & 50–950 ramp

primary
#339722
secondary
#AF57BE
accent
#42E6CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339722

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

Preview Lab → · Contrast checker → · Palette generator →

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