#339A2E#339A2E

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

Color values

HEX#339A2E
RGBrgb(51, 154, 46)
HSLhsl(117, 54%, 39%)
HSVhsv(117, 70%, 60%)
CMYKcmyk(66.9%, 0%, 70.1%, 39.6%)
CIE-LABlab(56.10, -50.45, 46.10)
CIE-LCHlch(56.10, 68.34, 137.59°)
OKLaboklab(60.49% -0.1373 0.1056)
OKLCHoklch(60.49% 0.173 142.4)
XYZxyz(13.4132, 24.0109, 6.5119)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2E #952E9A
analogous
#699A2E #339A2E #2E9A5F
triadic
#339A2E #2E339A #9A2E33
tetradic
#339A2E #2E699A #952E9A #9A5F2E
square
#339A2E #2E699A #952E9A #9A5F2E
split-complementary
#339A2E #5F2E9A #9A2E69
monochromatic
#143C12 #236B20 #339A2E #46C63F #73D46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339A2E#FFFFFF#000000##000000
##339A2E1.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)
#9E8C1E
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#1C9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2e;
/* rgb */ color: rgb(51, 154, 46);
/* oklch */ color: oklch(60.5% 0.173 142.4);
Tailwind
colors: {
  custom: {
    50: '#79b96d',
    500: '#339a2e',
    950: '#000000',
  },
}
SCSS
$custom: #339a2e;
$custom-light: #79b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2e",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 117.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.17316,
    "h": 142.4
  },
  "luminance": 0.24012
}

Semantic roles & 50–950 ramp

primary
#339A2E
secondary
#B769BB
accent
#4ADDD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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