#339540#339540

#339540 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.3% C 0.153 H 145.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#339540
RGBrgb(51, 149, 64)
HSLhsl(128, 49%, 39%)
HSVhsv(128, 66%, 58%)
CMYKcmyk(65.8%, 0%, 57%, 41.6%)
CIE-LABlab(54.62, -46.55, 36.23)
CIE-LCHlch(54.62, 58.99, 142.11°)
OKLaboklab(59.32% -0.1259 0.0863)
OKLCHoklch(59.32% 0.153 145.6)
XYZxyz(13.0372, 22.5675, 8.5184)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339540 #953388
analogous
#579533 #339540 #339571
triadic
#339540 #403395 #954033
tetradic
#339540 #335795 #953388 #957133
square
#339540 #335795 #953388 #957133
split-complementary
#339540 #713395 #953357
monochromatic
#143A19 #23672C #339540 #46C056 #73CF7F

Accessibility & contrast

On white

3.81
#339540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#339540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339540
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339540#FFFFFF#000000##000000
##3395401.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978838
Deuteranopia (green-blind)
#8B7F47
Tritanopia (blue-blind)
#189182
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #339540;
/* rgb */ color: rgb(51, 149, 64);
/* oklch */ color: oklch(59.3% 0.153 145.6);
Tailwind
colors: {
  custom: {
    50: '#77b577',
    500: '#339540',
    950: '#000000',
  },
}
SCSS
$custom: #339540;
$custom-light: #77b577;
$custom-dark: #000000;
JSON
{
  "hex": "#339540",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 127.959,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.1526,
    "h": 145.6
  },
  "luminance": 0.22569
}

Semantic roles & 50–950 ramp

primary
#339540
secondary
#B76CAD
accent
#4FC6D9
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339540

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

Preview Lab → · Contrast checker → · Palette generator →

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