#339140#339140

#339140 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.2% C 0.147 H 145.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#339140
RGBrgb(51, 145, 64)
HSLhsl(128, 48%, 38%)
HSVhsv(128, 65%, 57%)
CMYKcmyk(64.8%, 0%, 55.9%, 43.1%)
CIE-LABlab(53.30, -45.02, 34.65)
CIE-LCHlch(53.30, 56.81, 142.42°)
OKLaboklab(58.23% -0.1217 0.0828)
OKLCHoklch(58.23% 0.147 145.8)
XYZxyz(12.4152, 21.3235, 8.3111)
Luminance0.2132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339140 #913384
analogous
#559133 #339140 #33916F
triadic
#339140 #403391 #914033
tetradic
#339140 #335591 #913384 #916F33
square
#339140 #335591 #913384 #916F33
split-complementary
#339140 #6F3391 #913355
monochromatic
#133618 #23642C #339140 #44BD55 #71CD7E

Accessibility & contrast

On white

3.99
#339140 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#339140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339140
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339140#FFFFFF#000000##000000
##3391401.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938438
Deuteranopia (green-blind)
#877C46
Tritanopia (blue-blind)
#1B8E7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #339140;
/* rgb */ color: rgb(51, 145, 64);
/* oklch */ color: oklch(58.2% 0.147 145.8);
Tailwind
colors: {
  custom: {
    50: '#76b277',
    500: '#339140',
    950: '#000000',
  },
}
SCSS
$custom: #339140;
$custom-light: #76b277;
$custom-dark: #000000;
JSON
{
  "hex": "#339140",
  "rgb": {
    "r": 51,
    "g": 145,
    "b": 64
  },
  "hsl": {
    "h": 128.298,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58232,
    "c": 0.14722,
    "h": 145.8
  },
  "luminance": 0.21325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339140

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

Preview Lab → · Contrast checker → · Palette generator →

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