#339C2A#339C2A

#339C2A is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.0% C 0.178 H 142.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#339C2A
RGBrgb(51, 156, 42)
HSLhsl(115, 58%, 39%)
HSVhsv(115, 73%, 61%)
CMYKcmyk(67.3%, 0%, 73.1%, 38.8%)
CIE-LABlab(56.73, -51.52, 48.34)
CIE-LCHlch(56.73, 70.64, 136.82°)
OKLaboklab(61% -0.1404 0.1097)
OKLCHoklch(61% 0.178 142)
XYZxyz(13.6709, 24.6465, 6.2268)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C2A #932A9C
analogous
#6C9C2A #339C2A #2A9C5A
triadic
#339C2A #2A339C #9C2A33
tetradic
#339C2A #2A6C9C #932A9C #9C5A2A
square
#339C2A #2A6C9C #932A9C #9C5A2A
split-complementary
#339C2A #5A2A9C #9C2A6C
monochromatic
#133C10 #236C1D #339C2A #45CA39 #72D76A

Accessibility & contrast

On white

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

On black

5.93
#339C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C2A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C2A#FFFFFF#000000##000000
##339C2A1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D16
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#1C9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c2a;
/* rgb */ color: rgb(51, 156, 42);
/* oklch */ color: oklch(61.0% 0.178 142.0);
Tailwind
colors: {
  custom: {
    50: '#79ba6b',
    500: '#339c2a',
    950: '#000000',
  },
}
SCSS
$custom: #339c2a;
$custom-light: #79ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#339c2a",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 115.263,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.17816,
    "h": 142
  },
  "luminance": 0.24648
}

Semantic roles & 50–950 ramp

primary
#339C2A
secondary
#B665BD
accent
#47E1D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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