#339B20#339B20

#339B20 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.183 H 141.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#339B20
RGBrgb(51, 155, 32)
HSLhsl(111, 66%, 37%)
HSVhsv(111, 79%, 61%)
CMYKcmyk(67.1%, 0%, 79.4%, 39.2%)
CIE-LABlab(56.34, -51.91, 51.49)
CIE-LCHlch(56.34, 73.12, 135.23°)
OKLaboklab(60.65% -0.1419 0.1149)
OKLCHoklch(60.65% 0.183 141)
XYZxyz(13.3466, 24.2494, 5.3435)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B20 #88209B
analogous
#719B20 #339B20 #209B4B
triadic
#339B20 #20339B #9B2033
tetradic
#339B20 #20719B #88209B #9B4B20
square
#339B20 #20719B #88209B #9B4B20
split-complementary
#339B20 #4B209B #9B2071
monochromatic
#12360B #226816 #339B20 #44CE2A #6DDD59

Accessibility & contrast

On white

3.59
#339B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#339B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B20
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B20#FFFFFF#000000##000000
##339B201.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b20;
/* rgb */ color: rgb(51, 155, 32);
/* oklch */ color: oklch(60.7% 0.183 141.0);
Tailwind
colors: {
  custom: {
    50: '#7ab966',
    500: '#339b20',
    950: '#000000',
  },
}
SCSS
$custom: #339b20;
$custom-light: #7ab966;
$custom-dark: #000000;
JSON
{
  "hex": "#339b20",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 110.732,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.18264,
    "h": 141
  },
  "luminance": 0.24251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339B20

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

Preview Lab → · Contrast checker → · Palette generator →

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