#339D21#339D21

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

Color values

HEX#339D21
RGBrgb(51, 157, 33)
HSLhsl(111, 65%, 37%)
HSVhsv(111, 79%, 62%)
CMYKcmyk(67.5%, 0%, 79%, 38.4%)
CIE-LABlab(57.00, -52.54, 51.81)
CIE-LCHlch(57.00, 73.79, 135.40°)
OKLaboklab(61.21% -0.1436 0.1157)
OKLCHoklch(61.21% 0.184 141.1)
XYZxyz(13.6960, 24.9261, 5.5280)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D21 #8B219D
analogous
#719D21 #339D21 #219D4D
triadic
#339D21 #21339D #9D2133
tetradic
#339D21 #21719D #8B219D #9D4D21
square
#339D21 #21719D #8B219D #9D4D21
split-complementary
#339D21 #4D219D #9D2171
monochromatic
#12380C #236A16 #339D21 #43D02C #6EDD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339D21#FFFFFF#000000##000000
##339D211.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)
#A18E00
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#1E9886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d21;
/* rgb */ color: rgb(51, 157, 33);
/* oklch */ color: oklch(61.2% 0.184 141.1);
Tailwind
colors: {
  custom: {
    50: '#7abb66',
    500: '#339d21',
    950: '#000000',
  },
}
SCSS
$custom: #339d21;
$custom-light: #7abb66;
$custom-dark: #000000;
JSON
{
  "hex": "#339d21",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 111.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.18442,
    "h": 141.1
  },
  "luminance": 0.24928
}

Semantic roles & 50–950 ramp

primary
#339D21
secondary
#B259C1
accent
#40E8D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339D21

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

Preview Lab → · Contrast checker → · Palette generator →

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