#339D4E#339D4E

#339D4E is a mid, vivid green. Relative luminance 0.254; OKLCH L 61.7% C 0.151 H 148.4°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#339D4E
RGBrgb(51, 157, 78)
HSLhsl(135, 51%, 41%)
HSVhsv(135, 68%, 62%)
CMYKcmyk(67.5%, 0%, 50.3%, 38.4%)
CIE-LABlab(57.43, -47.54, 32.55)
CIE-LCHlch(57.43, 57.62, 145.60°)
OKLaboklab(61.7% -0.1282 0.079)
OKLCHoklch(61.7% 0.151 148.4)
XYZxyz(14.7963, 25.3662, 11.3227)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D4E #9D3382
analogous
#4D9D33 #339D4E #339D83
triadic
#339D4E #4E339D #9D4E33
tetradic
#339D4E #334D9D #9D3382 #9D8333
square
#339D4E #334D9D #9D3382 #9D8333
split-complementary
#339D4E #83339D #9D334D
monochromatic
#154120 #246F37 #339D4E #49C468 #77D38F

Accessibility & contrast

On white

3.46
#339D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#339D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D4E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D4E#FFFFFF#000000##000000
##339D4E1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F47
Deuteranopia (green-blind)
#918654
Tritanopia (blue-blind)
#079A8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339d4e;
/* rgb */ color: rgb(51, 157, 78);
/* oklch */ color: oklch(61.7% 0.151 148.4);
Tailwind
colors: {
  custom: {
    50: '#78bb81',
    500: '#339d4e',
    950: '#000000',
  },
}
SCSS
$custom: #339d4e;
$custom-light: #78bb81;
$custom-dark: #000000;
JSON
{
  "hex": "#339d4e",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 135.283,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61699,
    "c": 0.15056,
    "h": 148.4
  },
  "luminance": 0.25368
}

Semantic roles & 50–950 ramp

primary
#339D4E
secondary
#BB70A8
accent
#4DB7DA
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #339D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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