#339222#339222

#339222 is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.2% C 0.171 H 141.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#339222
RGBrgb(51, 146, 34)
HSLhsl(111, 62%, 35%)
HSVhsv(111, 77%, 57%)
CMYKcmyk(65.1%, 0%, 76.7%, 42.7%)
CIE-LABlab(53.36, -48.60, 47.92)
CIE-LCHlch(53.36, 68.25, 135.41°)
OKLaboklab(58.19% -0.1329 0.1077)
OKLCHoklch(58.19% 0.171 141)
XYZxyz(11.9323, 21.3759, 5.0102)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339222 #812292
analogous
#6B9222 #339222 #229249
triadic
#339222 #223392 #922233
tetradic
#339222 #226B92 #812292 #924922
square
#339222 #226B92 #812292 #924922
split-complementary
#339222 #492292 #92226B
monochromatic
#102F0B #226016 #339222 #44C42E #6AD857

Accessibility & contrast

On white

3.98
#339222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#339222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339222
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339222#FFFFFF#000000##000000
##3392221.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968409
Deuteranopia (green-blind)
#8A7D2E
Tritanopia (blue-blind)
#238D7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339222;
/* rgb */ color: rgb(51, 146, 34);
/* oklch */ color: oklch(58.2% 0.171 141.0);
Tailwind
colors: {
  custom: {
    50: '#78b365',
    500: '#339222',
    950: '#000000',
  },
}
SCSS
$custom: #339222;
$custom-light: #78b365;
$custom-dark: #000000;
JSON
{
  "hex": "#339222",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 110.893,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.17109,
    "h": 141
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#339222
secondary
#AC54BC
accent
#43E5CD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339222

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

Preview Lab → · Contrast checker → · Palette generator →

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