#339C22#339C22

#339C22 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.183 H 141.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#339C22
RGBrgb(51, 156, 34)
HSLhsl(112, 64%, 37%)
HSVhsv(112, 78%, 61%)
CMYKcmyk(67.3%, 0%, 78.2%, 38.8%)
CIE-LABlab(56.68, -52.12, 51.17)
CIE-LCHlch(56.68, 73.04, 135.53°)
OKLaboklab(60.94% -0.1424 0.1145)
OKLCHoklch(60.94% 0.183 141.2)
XYZxyz(13.5417, 24.5948, 5.5467)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C22 #8B229C
analogous
#709C22 #339C22 #229C4E
triadic
#339C22 #22339C #9C2233
tetradic
#339C22 #22709C #8B229C #9C4E22
square
#339C22 #22709C #8B229C #9C4E22
split-complementary
#339C22 #4E229C #9C2270
monochromatic
#12380C #236A17 #339C22 #43CE2D #6EDC5D

Accessibility & contrast

On white

3.55
#339C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#339C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C22
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C22#FFFFFF#000000##000000
##339C221.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D02
Deuteranopia (green-blind)
#948530
Tritanopia (blue-blind)
#1E9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c22;
/* rgb */ color: rgb(51, 156, 34);
/* oklch */ color: oklch(60.9% 0.183 141.2);
Tailwind
colors: {
  custom: {
    50: '#7aba67',
    500: '#339c22',
    950: '#000000',
  },
}
SCSS
$custom: #339c22;
$custom-light: #7aba67;
$custom-dark: #000000;
JSON
{
  "hex": "#339c22",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 111.639,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.18277,
    "h": 141.2
  },
  "luminance": 0.24596
}

Semantic roles & 50–950 ramp

primary
#339C22
secondary
#B25AC0
accent
#41E7D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339C22

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

Preview Lab → · Contrast checker → · Palette generator →

#339C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva