#339340#339340

#339340 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.8% C 0.150 H 145.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#339340
RGBrgb(51, 147, 64)
HSLhsl(128, 48%, 39%)
HSVhsv(128, 65%, 58%)
CMYKcmyk(65.3%, 0%, 56.5%, 42.4%)
CIE-LABlab(53.96, -45.79, 35.44)
CIE-LCHlch(53.96, 57.90, 142.26°)
OKLaboklab(58.78% -0.1238 0.0845)
OKLCHoklch(58.78% 0.15 145.7)
XYZxyz(12.7235, 21.9401, 8.4138)
Luminance0.2194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339340 #933386
analogous
#569333 #339340 #339370
triadic
#339340 #403393 #934033
tetradic
#339340 #335693 #933386 #937033
square
#339340 #335693 #933386 #937033
split-complementary
#339340 #703393 #933356
monochromatic
#133818 #23662C #339340 #45BE55 #72CE7F

Accessibility & contrast

On white

3.90
#339340 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#339340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339340
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339340#FFFFFF#000000##000000
##3393401.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958638
Deuteranopia (green-blind)
#897E46
Tritanopia (blue-blind)
#198F80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #339340;
/* rgb */ color: rgb(51, 147, 64);
/* oklch */ color: oklch(58.8% 0.150 145.7);
Tailwind
colors: {
  custom: {
    50: '#76b477',
    500: '#339340',
    950: '#000000',
  },
}
SCSS
$custom: #339340;
$custom-light: #76b477;
$custom-dark: #000000;
JSON
{
  "hex": "#339340",
  "rgb": {
    "r": 51,
    "g": 147,
    "b": 64
  },
  "hsl": {
    "h": 128.125,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.14992,
    "h": 145.7
  },
  "luminance": 0.21941
}

Semantic roles & 50–950 ramp

primary
#339340
secondary
#B66CAC
accent
#50C6D8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #339340

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

Preview Lab → · Contrast checker → · Palette generator →

#339340 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva