#339A4C#339A4C

#339A4C is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.9% C 0.148 H 148.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#339A4C
RGBrgb(51, 154, 76)
HSLhsl(135, 50%, 40%)
HSVhsv(135, 67%, 60%)
CMYKcmyk(66.9%, 0%, 50.6%, 39.6%)
CIE-LABlab(56.42, -46.70, 32.33)
CIE-LCHlch(56.42, 56.80, 145.31°)
OKLaboklab(60.86% -0.126 0.0784)
OKLCHoklch(60.86% 0.148 148.1)
XYZxyz(14.2243, 24.3353, 10.7836)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A4C #9A3381
analogous
#4D9A33 #339A4C #339A7F
triadic
#339A4C #4C339A #9A4C33
tetradic
#339A4C #334D9A #9A3381 #9A7F33
square
#339A4C #334D9A #9A3381 #9A7F33
split-complementary
#339A4C #7F339A #9A334D
monochromatic
#153E1F #246C35 #339A4C #48C266 #76D28C

Accessibility & contrast

On white

3.58
#339A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#339A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A4C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A4C#FFFFFF#000000##000000
##339A4C1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D45
Deuteranopia (green-blind)
#8F8452
Tritanopia (blue-blind)
#0C9788
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a4c;
/* rgb */ color: rgb(51, 154, 76);
/* oklch */ color: oklch(60.9% 0.148 148.1);
Tailwind
colors: {
  custom: {
    50: '#77b97f',
    500: '#339a4c',
    950: '#000000',
  },
}
SCSS
$custom: #339a4c;
$custom-light: #77b97f;
$custom-dark: #000000;
JSON
{
  "hex": "#339a4c",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 76
  },
  "hsl": {
    "h": 134.563,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.14837,
    "h": 148.1
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

primary
#339A4C
secondary
#BA6FA8
accent
#4EB8DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #339A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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