#339A3F#339A3F

#339A3F is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.7% C 0.160 H 145.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#339A3F
RGBrgb(51, 154, 63)
HSLhsl(127, 50%, 40%)
HSVhsv(127, 67%, 60%)
CMYKcmyk(66.9%, 0%, 59.1%, 39.6%)
CIE-LABlab(56.26, -48.56, 38.65)
CIE-LCHlch(56.26, 62.06, 141.49°)
OKLaboklab(60.67% -0.1313 0.0915)
OKLCHoklch(60.67% 0.16 145.1)
XYZxyz(13.8171, 24.1725, 8.6392)
Luminance0.2417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A3F #9A338E
analogous
#5B9A33 #339A3F #339A72
triadic
#339A3F #3F339A #9A3F33
tetradic
#339A3F #335B9A #9A338E #9A7233
square
#339A3F #335B9A #9A338E #9A7233
split-complementary
#339A3F #72339A #9A335B
monochromatic
#153E19 #246C2C #339A3F #48C256 #76D281

Accessibility & contrast

On white

3.60
#339A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#339A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A3F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A3F#FFFFFF#000000##000000
##339A3F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C36
Deuteranopia (green-blind)
#908446
Tritanopia (blue-blind)
#169686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a3f;
/* rgb */ color: rgb(51, 154, 63);
/* oklch */ color: oklch(60.7% 0.160 145.1);
Tailwind
colors: {
  custom: {
    50: '#78b977',
    500: '#339a3f',
    950: '#000000',
  },
}
SCSS
$custom: #339a3f;
$custom-light: #78b977;
$custom-dark: #000000;
JSON
{
  "hex": "#339a3f",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 63
  },
  "hsl": {
    "h": 126.99,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60672,
    "c": 0.16003,
    "h": 145.1
  },
  "luminance": 0.24174
}

Semantic roles & 50–950 ramp

primary
#339A3F
secondary
#BA6FB1
accent
#4EC9DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #339A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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