#339A2B#339A2B

#339A2B is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.175 H 142.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#339A2B
RGBrgb(51, 154, 43)
HSLhsl(116, 56%, 39%)
HSVhsv(116, 72%, 60%)
CMYKcmyk(66.9%, 0%, 72.1%, 39.6%)
CIE-LABlab(56.08, -50.72, 47.28)
CIE-LCHlch(56.08, 69.34, 137.01°)
OKLaboklab(60.46% -0.1382 0.1076)
OKLCHoklch(60.46% 0.175 142.1)
XYZxyz(13.3562, 23.9881, 6.2113)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2B #922B9A
analogous
#6A9A2B #339A2B #2B9A5A
triadic
#339A2B #2B339A #9A2B33
tetradic
#339A2B #2B6A9A #922B9A #9A5A2B
square
#339A2B #2B6A9A #922B9A #9A5A2B
split-complementary
#339A2B #5A2B9A #9A2B6A
monochromatic
#133A10 #236A1E #339A2B #44C83A #72D56A

Accessibility & contrast

On white

3.62
#339A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#339A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A2B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A2B#FFFFFF#000000##000000
##339A2B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C19
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#1D9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2b;
/* rgb */ color: rgb(51, 154, 43);
/* oklch */ color: oklch(60.5% 0.175 142.1);
Tailwind
colors: {
  custom: {
    50: '#79b96b',
    500: '#339a2b',
    950: '#000000',
  },
}
SCSS
$custom: #339a2b;
$custom-light: #79b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2b",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 115.676,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.17515,
    "h": 142.1
  },
  "luminance": 0.23989
}

Semantic roles & 50–950 ramp

primary
#339A2B
secondary
#B665BC
accent
#48E0D5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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