#339C21#339C21

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

Color values

HEX#339C21
RGBrgb(51, 156, 33)
HSLhsl(111, 65%, 37%)
HSVhsv(111, 79%, 61%)
CMYKcmyk(67.3%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.67, -52.19, 51.49)
CIE-LCHlch(56.67, 73.32, 135.39°)
OKLaboklab(60.93% -0.1427 0.1151)
OKLCHoklch(60.93% 0.183 141.1)
XYZxyz(13.5275, 24.5892, 5.4718)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C21 #8A219C
analogous
#709C21 #339C21 #219C4D
triadic
#339C21 #21339C #9C2133
tetradic
#339C21 #21709C #8A219C #9C4D21
square
#339C21 #21709C #8A219C #9C4D21
split-complementary
#339C21 #4D219C #9C2170
monochromatic
#12370C #226916 #339C21 #44CF2C #6EDC5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339C21#FFFFFF#000000##000000
##339C211.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)
#A08D00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#1E9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c21;
/* rgb */ color: rgb(51, 156, 33);
/* oklch */ color: oklch(60.9% 0.183 141.1);
Tailwind
colors: {
  custom: {
    50: '#7aba66',
    500: '#339c21',
    950: '#000000',
  },
}
SCSS
$custom: #339c21;
$custom-light: #7aba66;
$custom-dark: #000000;
JSON
{
  "hex": "#339c21",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 111.22,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.18328,
    "h": 141.1
  },
  "luminance": 0.24591
}

Semantic roles & 50–950 ramp

primary
#339C21
secondary
#B158C1
accent
#40E8CF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339C21

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

Preview Lab → · Contrast checker → · Palette generator →

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