#339E22#339E22

#339E22 is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.185 H 141.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#339E22
RGBrgb(51, 158, 34)
HSLhsl(112, 65%, 38%)
HSVhsv(112, 78%, 62%)
CMYKcmyk(67.7%, 0%, 78.5%, 38%)
CIE-LABlab(57.34, -52.81, 51.81)
CIE-LCHlch(57.34, 73.98, 135.55°)
OKLaboklab(61.49% -0.1443 0.1159)
OKLCHoklch(61.49% 0.185 141.2)
XYZxyz(13.8801, 25.2716, 5.6595)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E22 #8D229E
analogous
#719E22 #339E22 #229E4F
triadic
#339E22 #22339E #9E2233
tetradic
#339E22 #22719E #8D229E #9E4F22
square
#339E22 #22719E #8D229E #9E4F22
split-complementary
#339E22 #4F229E #9E2271
monochromatic
#12390C #236C17 #339E22 #43D02D #6FDC5E

Accessibility & contrast

On white

3.47
#339E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#339E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E22
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E22#FFFFFF#000000##000000
##339E221.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F01
Deuteranopia (green-blind)
#968630
Tritanopia (blue-blind)
#1D9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e22;
/* rgb */ color: rgb(51, 158, 34);
/* oklch */ color: oklch(61.5% 0.185 141.2);
Tailwind
colors: {
  custom: {
    50: '#7abc67',
    500: '#339e22',
    950: '#000000',
  },
}
SCSS
$custom: #339e22;
$custom-light: #7abc67;
$custom-dark: #000000;
JSON
{
  "hex": "#339e22",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 111.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.18505,
    "h": 141.2
  },
  "luminance": 0.25273
}

Semantic roles & 50–950 ramp

primary
#339E22
secondary
#B35BC1
accent
#40E8D1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339E22

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

Preview Lab → · Contrast checker → · Palette generator →

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