#339B2B#339B2B

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

Color values

HEX#339B2B
RGBrgb(51, 155, 43)
HSLhsl(116, 57%, 39%)
HSVhsv(116, 72%, 61%)
CMYKcmyk(67.1%, 0%, 72.3%, 39.2%)
CIE-LABlab(56.41, -51.08, 47.62)
CIE-LCHlch(56.41, 69.83, 137.01°)
OKLaboklab(60.73% -0.1391 0.1084)
OKLCHoklch(60.73% 0.176 142.1)
XYZxyz(13.5219, 24.3195, 6.2666)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2B #932B9B
analogous
#6B9B2B #339B2B #2B9B5B
triadic
#339B2B #2B339B #9B2B33
tetradic
#339B2B #2B6B9B #932B9B #9B5B2B
square
#339B2B #2B6B9B #932B9B #9B5B2B
split-complementary
#339B2B #5B2B9B #9B2B6B
monochromatic
#133B10 #236B1E #339B2B #45C93B #72D66B

Accessibility & contrast

On white

3.58
#339B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#339B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B2B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B2B#FFFFFF#000000##000000
##339B2B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C19
Deuteranopia (green-blind)
#928436
Tritanopia (blue-blind)
#1D9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b2b;
/* rgb */ color: rgb(51, 155, 43);
/* oklch */ color: oklch(60.7% 0.176 142.1);
Tailwind
colors: {
  custom: {
    50: '#79b96b',
    500: '#339b2b',
    950: '#000000',
  },
}
SCSS
$custom: #339b2b;
$custom-light: #79b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2b",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 115.714,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.17635,
    "h": 142.1
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#339B2B
secondary
#B665BC
accent
#48E0D5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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