#339E20#339E20

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

Color values

HEX#339E20
RGBrgb(51, 158, 32)
HSLhsl(111, 66%, 37%)
HSVhsv(111, 80%, 62%)
CMYKcmyk(67.7%, 0%, 79.7%, 38%)
CIE-LABlab(57.33, -52.94, 52.44)
CIE-LCHlch(57.33, 74.52, 135.27°)
OKLaboklab(61.48% -0.1447 0.1169)
OKLCHoklch(61.48% 0.186 141.1)
XYZxyz(13.8521, 25.2604, 5.5120)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E20 #8B209E
analogous
#729E20 #339E20 #209E4C
triadic
#339E20 #20339E #9E2033
tetradic
#339E20 #20729E #8B209E #9E4C20
square
#339E20 #20729E #8B209E #9E4C20
split-complementary
#339E20 #4C209E #9E2072
monochromatic
#12380B #236B16 #339E20 #43D12A #6EDE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339E20#FFFFFF#000000##000000
##339E201.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)
#A28F00
Deuteranopia (green-blind)
#96862F
Tritanopia (blue-blind)
#1E9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e20;
/* rgb */ color: rgb(51, 158, 32);
/* oklch */ color: oklch(61.5% 0.186 141.1);
Tailwind
colors: {
  custom: {
    50: '#7abc66',
    500: '#339e20',
    950: '#000000',
  },
}
SCSS
$custom: #339e20;
$custom-light: #7abc66;
$custom-dark: #000000;
JSON
{
  "hex": "#339e20",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 110.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.18606,
    "h": 141.1
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

primary
#339E20
secondary
#B258C2
accent
#3FE9D0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339E20

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

Preview Lab → · Contrast checker → · Palette generator →

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