#339240#339240

#339240 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.5% C 0.149 H 145.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#339240
RGBrgb(51, 146, 64)
HSLhsl(128, 48%, 39%)
HSVhsv(128, 65%, 57%)
CMYKcmyk(65.1%, 0%, 56.2%, 42.7%)
CIE-LABlab(53.63, -45.41, 35.04)
CIE-LCHlch(53.63, 57.36, 142.34°)
OKLaboklab(58.51% -0.1228 0.0837)
OKLCHoklch(58.51% 0.149 145.7)
XYZxyz(12.5687, 21.6305, 8.3622)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339240 #923385
analogous
#559233 #339240 #33926F
triadic
#339240 #403392 #924033
tetradic
#339240 #335592 #923385 #926F33
square
#339240 #335592 #923385 #926F33
split-complementary
#339240 #6F3392 #923355
monochromatic
#133718 #23652C #339240 #44BE55 #72CE7E

Accessibility & contrast

On white

3.94
#339240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#339240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339240
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339240#FFFFFF#000000##000000
##3392401.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948538
Deuteranopia (green-blind)
#887D46
Tritanopia (blue-blind)
#1A8E80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #339240;
/* rgb */ color: rgb(51, 146, 64);
/* oklch */ color: oklch(58.5% 0.149 145.7);
Tailwind
colors: {
  custom: {
    50: '#76b377',
    500: '#339240',
    950: '#000000',
  },
}
SCSS
$custom: #339240;
$custom-light: #76b377;
$custom-dark: #000000;
JSON
{
  "hex": "#339240",
  "rgb": {
    "r": 51,
    "g": 146,
    "b": 64
  },
  "hsl": {
    "h": 128.211,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.14857,
    "h": 145.7
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#339240
secondary
#B66BAC
accent
#50C5D8
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #339240

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

Preview Lab → · Contrast checker → · Palette generator →

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