#339822#339822

#339822 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.178 H 141.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#339822
RGBrgb(51, 152, 34)
HSLhsl(111, 63%, 36%)
HSVhsv(111, 78%, 60%)
CMYKcmyk(66.4%, 0%, 77.6%, 40.4%)
CIE-LABlab(55.35, -50.73, 49.88)
CIE-LCHlch(55.35, 71.14, 135.49°)
OKLaboklab(59.84% -0.1387 0.1118)
OKLCHoklch(59.84% 0.178 141.1)
XYZxyz(12.8815, 23.2745, 5.3266)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339822 #872298
analogous
#6E9822 #339822 #22984C
triadic
#339822 #223398 #982233
tetradic
#339822 #226E98 #872298 #984C22
square
#339822 #226E98 #872298 #984C22
split-complementary
#339822 #4C2298 #98226E
monochromatic
#11340C #226617 #339822 #44CA2D #6DDA5A

Accessibility & contrast

On white

3.71
#339822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#339822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339822
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339822#FFFFFF#000000##000000
##3398221.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A05
Deuteranopia (green-blind)
#90812F
Tritanopia (blue-blind)
#209382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #339822;
/* rgb */ color: rgb(51, 152, 34);
/* oklch */ color: oklch(59.8% 0.178 141.1);
Tailwind
colors: {
  custom: {
    50: '#79b766',
    500: '#339822',
    950: '#000000',
  },
}
SCSS
$custom: #339822;
$custom-light: #79b766;
$custom-dark: #000000;
JSON
{
  "hex": "#339822",
  "rgb": {
    "r": 51,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 111.356,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.17814,
    "h": 141.1
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#339822
secondary
#B057BE
accent
#41E6CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339822

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

Preview Lab → · Contrast checker → · Palette generator →

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