#339B2A#339B2A

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

Color values

HEX#339B2A
RGBrgb(51, 155, 42)
HSLhsl(115, 57%, 39%)
HSVhsv(115, 73%, 61%)
CMYKcmyk(67.1%, 0%, 72.9%, 39.2%)
CIE-LABlab(56.40, -51.16, 48.00)
CIE-LCHlch(56.40, 70.16, 136.83°)
OKLaboklab(60.73% -0.1394 0.109)
OKLCHoklch(60.73% 0.177 142)
XYZxyz(13.5038, 24.3123, 6.1711)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2A #922A9B
analogous
#6B9B2A #339B2A #2A9B59
triadic
#339B2A #2A339B #9B2A33
tetradic
#339B2A #2A6B9B #922A9B #9B592A
square
#339B2A #2A6B9B #922A9B #9B592A
split-complementary
#339B2A #592A9B #9B2A6B
monochromatic
#133B10 #236B1D #339B2A #44C939 #72D669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339B2A#FFFFFF#000000##000000
##339B2A1.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)
#9F8C17
Deuteranopia (green-blind)
#928435
Tritanopia (blue-blind)
#1D9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b2a;
/* rgb */ color: rgb(51, 155, 42);
/* oklch */ color: oklch(60.7% 0.177 142.0);
Tailwind
colors: {
  custom: {
    50: '#79b96b',
    500: '#339b2a',
    950: '#000000',
  },
}
SCSS
$custom: #339b2a;
$custom-light: #79b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2a",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 115.221,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.17698,
    "h": 142
  },
  "luminance": 0.24314
}

Semantic roles & 50–950 ramp

primary
#339B2A
secondary
#B664BD
accent
#47E1D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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