#339D22#339D22

#339D22 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.184 H 141.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#339D22
RGBrgb(51, 157, 34)
HSLhsl(112, 64%, 37%)
HSVhsv(112, 78%, 62%)
CMYKcmyk(67.5%, 0%, 78.3%, 38.4%)
CIE-LABlab(57.01, -52.47, 51.49)
CIE-LCHlch(57.01, 73.51, 135.54°)
OKLaboklab(61.22% -0.1434 0.1152)
OKLCHoklch(61.22% 0.184 141.2)
XYZxyz(13.7102, 24.9318, 5.6029)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D22 #8C229D
analogous
#719D22 #339D22 #229D4E
triadic
#339D22 #22339D #9D2233
tetradic
#339D22 #22719D #8C229D #9D4E22
square
#339D22 #22719D #8C229D #9D4E22
split-complementary
#339D22 #4E229D #9D2271
monochromatic
#12380C #236B17 #339D22 #43CF2D #6FDC5D

Accessibility & contrast

On white

3.51
#339D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#339D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D22
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D22#FFFFFF#000000##000000
##339D221.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#1E9886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d22;
/* rgb */ color: rgb(51, 157, 34);
/* oklch */ color: oklch(61.2% 0.184 141.2);
Tailwind
colors: {
  custom: {
    50: '#7abb67',
    500: '#339d22',
    950: '#000000',
  },
}
SCSS
$custom: #339d22;
$custom-light: #7abb67;
$custom-dark: #000000;
JSON
{
  "hex": "#339d22",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 111.707,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.18391,
    "h": 141.2
  },
  "luminance": 0.24933
}

Semantic roles & 50–950 ramp

primary
#339D22
secondary
#B25AC1
accent
#40E7D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339D22

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

Preview Lab → · Contrast checker → · Palette generator →

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