#339D20#339D20

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

Color values

HEX#339D20
RGBrgb(51, 157, 32)
HSLhsl(111, 66%, 37%)
HSVhsv(111, 80%, 62%)
CMYKcmyk(67.5%, 0%, 79.6%, 38.4%)
CIE-LABlab(57.00, -52.60, 52.13)
CIE-LCHlch(57.00, 74.06, 135.26°)
OKLaboklab(61.2% -0.1438 0.1163)
OKLCHoklch(61.2% 0.185 141)
XYZxyz(13.6822, 24.9206, 5.4553)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D20 #8A209D
analogous
#729D20 #339D20 #209D4C
triadic
#339D20 #20339D #9D2033
tetradic
#339D20 #20729D #8A209D #9D4C20
square
#339D20 #20729D #8A209D #9D4C20
split-complementary
#339D20 #4C209D #9D2072
monochromatic
#12370B #226A16 #339D20 #44D02A #6EDD5A

Accessibility & contrast

On white

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

On black

5.98
#339D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D20
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D20#FFFFFF#000000##000000
##339D201.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.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: #339d20;
/* rgb */ color: rgb(51, 157, 32);
/* oklch */ color: oklch(61.2% 0.185 141.0);
Tailwind
colors: {
  custom: {
    50: '#7abb66',
    500: '#339d20',
    950: '#000000',
  },
}
SCSS
$custom: #339d20;
$custom-light: #7abb66;
$custom-dark: #000000;
JSON
{
  "hex": "#339d20",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 110.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.18492,
    "h": 141
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#339D20
secondary
#B157C1
accent
#3FE9CF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339D20

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

Preview Lab → · Contrast checker → · Palette generator →

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