#339C31#339C31

#339C31 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.1% C 0.173 H 142.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#339C31
RGBrgb(51, 156, 49)
HSLhsl(119, 52%, 40%)
HSVhsv(119, 69%, 61%)
CMYKcmyk(67.3%, 0%, 68.6%, 38.8%)
CIE-LABlab(56.78, -50.88, 45.58)
CIE-LCHlch(56.78, 68.31, 138.15°)
OKLaboklab(61.06% -0.1383 0.1048)
OKLCHoklch(61.06% 0.174 142.8)
XYZxyz(13.8073, 24.7011, 6.9453)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C31 #9A319C
analogous
#689C31 #339C31 #319C65
triadic
#339C31 #31339C #9C3133
tetradic
#339C31 #31689C #9A319C #9C6531
square
#339C31 #31689C #9A319C #9C6531
split-complementary
#339C31 #65319C #9C3168
monochromatic
#153F14 #246D22 #339C31 #48C545 #76D374

Accessibility & contrast

On white

3.54
#339C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#339C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C31
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C31#FFFFFF#000000##000000
##339C311.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#1A9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c31;
/* rgb */ color: rgb(51, 156, 49);
/* oklch */ color: oklch(61.1% 0.173 142.8);
Tailwind
colors: {
  custom: {
    50: '#79ba6f',
    500: '#339c31',
    950: '#000000',
  },
}
SCSS
$custom: #339c31;
$custom-light: #79ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#339c31",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 118.879,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.1735,
    "h": 142.8
  },
  "luminance": 0.24702
}

Semantic roles & 50–950 ramp

primary
#339C31
secondary
#BA6DBB
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339C31

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

Preview Lab → · Contrast checker → · Palette generator →

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