#339A2A#339A2A

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

Color values

HEX#339A2A
RGBrgb(51, 154, 42)
HSLhsl(115, 57%, 38%)
HSVhsv(115, 73%, 60%)
CMYKcmyk(66.9%, 0%, 72.7%, 39.6%)
CIE-LABlab(56.07, -50.81, 47.66)
CIE-LCHlch(56.07, 69.67, 136.83°)
OKLaboklab(60.45% -0.1385 0.1083)
OKLCHoklch(60.45% 0.176 142)
XYZxyz(13.3380, 23.9808, 6.1159)
Luminance0.2398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2A #912A9A
analogous
#6B9A2A #339A2A #2A9A59
triadic
#339A2A #2A339A #9A2A33
tetradic
#339A2A #2A6B9A #912A9A #9A592A
square
#339A2A #2A6B9A #912A9A #9A592A
split-complementary
#339A2A #592A9A #9A2A6B
monochromatic
#133A10 #236A1D #339A2A #44C938 #71D668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339A2A#FFFFFF#000000##000000
##339A2A1.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)
#9E8B17
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#1D9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2a;
/* rgb */ color: rgb(51, 154, 42);
/* oklch */ color: oklch(60.5% 0.176 142.0);
Tailwind
colors: {
  custom: {
    50: '#79b96a',
    500: '#339a2a',
    950: '#000000',
  },
}
SCSS
$custom: #339a2a;
$custom-light: #79b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2a",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 115.179,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.1758,
    "h": 142
  },
  "luminance": 0.23982
}

Semantic roles & 50–950 ramp

primary
#339A2A
secondary
#B563BC
accent
#47E0D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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