#339A5F#339A5F

#339A5F is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.2% C 0.130 H 154.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#339A5F
RGBrgb(51, 154, 95)
HSLhsl(146, 50%, 40%)
HSVhsv(146, 67%, 60%)
CMYKcmyk(66.9%, 0%, 38.3%, 39.6%)
CIE-LABlab(56.72, -43.35, 22.57)
CIE-LCHlch(56.72, 48.87, 152.49°)
OKLaboklab(61.2% -0.1173 0.0564)
OKLCHoklch(61.2% 0.13 154.3)
XYZxyz(14.9851, 24.6396, 14.7905)
Luminance0.2464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A5F #9A336E
analogous
#3A9A33 #339A5F #339A92
triadic
#339A5F #5F339A #9A5F33
tetradic
#339A5F #333A9A #9A336E #9A9233
square
#339A5F #333A9A #9A336E #9A9233
split-complementary
#339A5F #92339A #9A333A
monochromatic
#153E26 #246C43 #339A5F #48C27C #76D29D

Accessibility & contrast

On white

3.54
#339A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#339A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A5F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A5F#FFFFFF#000000##000000
##339A5F1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8E5B
Deuteranopia (green-blind)
#8C8463
Tritanopia (blue-blind)
#00988B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339a5f;
/* rgb */ color: rgb(51, 154, 95);
/* oklch */ color: oklch(61.2% 0.130 154.3);
Tailwind
colors: {
  custom: {
    50: '#77b98d',
    500: '#339a5f',
    950: '#000000',
  },
}
SCSS
$custom: #339a5f;
$custom-light: #77b98d;
$custom-dark: #000000;
JSON
{
  "hex": "#339a5f",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 95
  },
  "hsl": {
    "h": 145.631,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61204,
    "c": 0.13014,
    "h": 154.3
  },
  "luminance": 0.24641
}

Semantic roles & 50–950 ramp

primary
#339A5F
secondary
#BA6F9A
accent
#4E9EDA
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D

Preview Lab

Preview with #339A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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