#339B34#339B34

#339B34 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.170 H 143.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#339B34
RGBrgb(51, 155, 52)
HSLhsl(121, 50%, 40%)
HSVhsv(121, 67%, 61%)
CMYKcmyk(67.1%, 0%, 66.5%, 39.2%)
CIE-LABlab(56.48, -50.22, 43.96)
CIE-LCHlch(56.48, 66.74, 138.80°)
OKLaboklab(60.82% -0.1363 0.1018)
OKLCHoklch(60.82% 0.17 143.3)
XYZxyz(13.7056, 24.3930, 7.2342)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B34 #9B339A
analogous
#669B33 #339B34 #339B68
triadic
#339B34 #34339B #9B3433
tetradic
#339B34 #33669B #9B339A #9B6833
square
#339B34 #33669B #9B339A #9B6833
split-complementary
#339B34 #68339B #9B3366
monochromatic
#153F15 #246D25 #339B34 #48C349 #76D277

Accessibility & contrast

On white

3.57
#339B34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#339B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B34
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B34#FFFFFF#000000##000000
##339B341.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D27
Deuteranopia (green-blind)
#92843D
Tritanopia (blue-blind)
#1A9786
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b34;
/* rgb */ color: rgb(51, 155, 52);
/* oklch */ color: oklch(60.8% 0.170 143.3);
Tailwind
colors: {
  custom: {
    50: '#79b970',
    500: '#339b34',
    950: '#000000',
  },
}
SCSS
$custom: #339b34;
$custom-light: #79b970;
$custom-dark: #000000;
JSON
{
  "hex": "#339b34",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 52
  },
  "hsl": {
    "h": 120.577,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.1701,
    "h": 143.3
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#339B34
secondary
#BA6FBA
accent
#4ED9DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339B34

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

Preview Lab → · Contrast checker → · Palette generator →

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