#339D2B#339D2B

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

Color values

HEX#339D2B
RGBrgb(51, 157, 43)
HSLhsl(116, 57%, 39%)
HSVhsv(116, 73%, 62%)
CMYKcmyk(67.5%, 0%, 72.6%, 38.4%)
CIE-LABlab(57.07, -51.78, 48.30)
CIE-LCHlch(57.07, 70.81, 136.99°)
OKLaboklab(61.28% -0.141 0.1098)
OKLCHoklch(61.28% 0.179 142.1)
XYZxyz(13.8575, 24.9907, 6.3784)
Luminance0.2499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D2B #952B9D
analogous
#6C9D2B #339D2B #2B9D5C
triadic
#339D2B #2B339D #9D2B33
tetradic
#339D2B #2B6C9D #952B9D #9D5C2B
square
#339D2B #2B6C9D #952B9D #9D5C2B
split-complementary
#339D2B #5C2B9D #9D2B6C
monochromatic
#143D11 #236D1E #339D2B #46CA3C #73D76C

Accessibility & contrast

On white

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

On black

6.00
#339D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D2B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D2B#FFFFFF#000000##000000
##339D2B1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#1C9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d2b;
/* rgb */ color: rgb(51, 157, 43);
/* oklch */ color: oklch(61.3% 0.179 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abb6b',
    500: '#339d2b',
    950: '#000000',
  },
}
SCSS
$custom: #339d2b;
$custom-light: #7abb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#339d2b",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 115.789,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.17872,
    "h": 142.1
  },
  "luminance": 0.24992
}

Semantic roles & 50–950 ramp

primary
#339D2B
secondary
#B766BD
accent
#48E0D6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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