#339A41#339A41

#339A41 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.7% C 0.158 H 145.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#339A41
RGBrgb(51, 154, 65)
HSLhsl(128, 50%, 40%)
HSVhsv(128, 67%, 60%)
CMYKcmyk(66.9%, 0%, 57.8%, 39.6%)
CIE-LABlab(56.28, -48.30, 37.70)
CIE-LCHlch(56.28, 61.27, 142.03°)
OKLaboklab(60.7% -0.1305 0.0896)
OKLCHoklch(60.7% 0.158 145.5)
XYZxyz(13.8741, 24.1952, 8.9390)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A41 #9A338C
analogous
#599A33 #339A41 #339A74
triadic
#339A41 #41339A #9A4133
tetradic
#339A41 #33599A #9A338C #9A7433
square
#339A41 #33599A #9A338C #9A7433
split-complementary
#339A41 #74339A #9A3359
monochromatic
#153E1A #246C2E #339A41 #48C259 #76D282

Accessibility & contrast

On white

3.60
#339A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#339A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A41
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A41#FFFFFF#000000##000000
##339A411.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C38
Deuteranopia (green-blind)
#908448
Tritanopia (blue-blind)
#159686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a41;
/* rgb */ color: rgb(51, 154, 65);
/* oklch */ color: oklch(60.7% 0.158 145.5);
Tailwind
colors: {
  custom: {
    50: '#78b978',
    500: '#339a41',
    950: '#000000',
  },
}
SCSS
$custom: #339a41;
$custom-light: #78b978;
$custom-dark: #000000;
JSON
{
  "hex": "#339a41",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 65
  },
  "hsl": {
    "h": 128.155,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60698,
    "c": 0.15832,
    "h": 145.5
  },
  "luminance": 0.24197
}

Semantic roles & 50–950 ramp

primary
#339A41
secondary
#BA6FB0
accent
#4EC7DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339A41

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

Preview Lab → · Contrast checker → · Palette generator →

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