#339A2F#339A2F

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

Color values

HEX#339A2F
RGBrgb(51, 154, 47)
HSLhsl(118, 53%, 39%)
HSVhsv(118, 69%, 60%)
CMYKcmyk(66.9%, 0%, 69.5%, 39.6%)
CIE-LABlab(56.11, -50.36, 45.69)
CIE-LCHlch(56.11, 68.00, 137.78°)
OKLaboklab(60.5% -0.137 0.1048)
OKLCHoklch(60.5% 0.172 142.6)
XYZxyz(13.4332, 24.0189, 6.6170)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2F #962F9A
analogous
#699A2F #339A2F #2F9A61
triadic
#339A2F #2F339A #9A2F33
tetradic
#339A2F #2F699A #962F9A #9A612F
square
#339A2F #2F699A #962F9A #9A612F
split-complementary
#339A2F #612F9A #9A2F69
monochromatic
#143C12 #236B21 #339A2F #46C541 #74D370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339A2F#FFFFFF#000000##000000
##339A2F1.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)
#9D8C20
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#1C9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2f;
/* rgb */ color: rgb(51, 154, 47);
/* oklch */ color: oklch(60.5% 0.172 142.6);
Tailwind
colors: {
  custom: {
    50: '#79b96d',
    500: '#339a2f',
    950: '#000000',
  },
}
SCSS
$custom: #339a2f;
$custom-light: #79b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2f",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 117.757,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60496,
    "c": 0.17247,
    "h": 142.6
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#339A2F
secondary
#B86ABB
accent
#4BDDD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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