#339D31#339D31

#339D31 is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.175 H 142.8°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#339D31
RGBrgb(51, 157, 49)
HSLhsl(119, 52%, 40%)
HSVhsv(119, 69%, 62%)
CMYKcmyk(67.5%, 0%, 68.8%, 38.4%)
CIE-LABlab(57.11, -51.23, 45.93)
CIE-LCHlch(57.11, 68.81, 138.12°)
OKLaboklab(61.33% -0.1392 0.1056)
OKLCHoklch(61.33% 0.175 142.8)
XYZxyz(13.9758, 25.0381, 7.0014)
Luminance0.2504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D31 #9B319D
analogous
#699D31 #339D31 #319D65
triadic
#339D31 #31339D #9D3133
tetradic
#339D31 #31699D #9B319D #9D6531
square
#339D31 #31699D #9B319D #9D6531
split-complementary
#339D31 #65319D #9D3169
monochromatic
#154014 #246E22 #339D31 #48C546 #76D475

Accessibility & contrast

On white

3.50
#339D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#339D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D31
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D31#FFFFFF#000000##000000
##339D311.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E22
Deuteranopia (green-blind)
#94863B
Tritanopia (blue-blind)
#1A9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d31;
/* rgb */ color: rgb(51, 157, 49);
/* oklch */ color: oklch(61.3% 0.175 142.8);
Tailwind
colors: {
  custom: {
    50: '#79bb6f',
    500: '#339d31',
    950: '#000000',
  },
}
SCSS
$custom: #339d31;
$custom-light: #79bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#339d31",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 118.889,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61334,
    "c": 0.17473,
    "h": 142.8
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339D31

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

Preview Lab → · Contrast checker → · Palette generator →

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