#339A2D#339A2D

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

Color values

HEX#339A2D
RGBrgb(51, 154, 45)
HSLhsl(117, 55%, 39%)
HSVhsv(117, 71%, 60%)
CMYKcmyk(66.9%, 0%, 70.8%, 39.6%)
CIE-LABlab(56.09, -50.55, 46.49)
CIE-LCHlch(56.09, 68.68, 137.39°)
OKLaboklab(60.48% -0.1376 0.1063)
OKLCHoklch(60.48% 0.174 142.3)
XYZxyz(13.3937, 24.0031, 6.4093)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2D #942D9A
analogous
#6A9A2D #339A2D #2D9A5E
triadic
#339A2D #2D339A #9A2D33
tetradic
#339A2D #2D6A9A #942D9A #9A5E2D
square
#339A2D #2D6A9A #942D9A #9A5E2D
split-complementary
#339A2D #5E2D9A #9A2D6A
monochromatic
#143B11 #236B1F #339A2D #45C73E #73D46D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339A2D#FFFFFF#000000##000000
##339A2D1.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)
#9E8C1C
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#1D9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2d;
/* rgb */ color: rgb(51, 154, 45);
/* oklch */ color: oklch(60.5% 0.174 142.3);
Tailwind
colors: {
  custom: {
    50: '#79b96c',
    500: '#339a2d',
    950: '#000000',
  },
}
SCSS
$custom: #339a2d;
$custom-light: #79b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2d",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 116.697,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60477,
    "c": 0.17384,
    "h": 142.3
  },
  "luminance": 0.24004
}

Semantic roles & 50–950 ramp

primary
#339A2D
secondary
#B767BB
accent
#4ADED6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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