#339D3F#339D3F

#339D3F is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.5% C 0.164 H 145.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#339D3F
RGBrgb(51, 157, 63)
HSLhsl(127, 51%, 41%)
HSVhsv(127, 68%, 62%)
CMYKcmyk(67.5%, 0%, 59.9%, 38.4%)
CIE-LABlab(57.25, -49.67, 39.79)
CIE-LCHlch(57.25, 63.64, 141.30°)
OKLaboklab(61.49% -0.1343 0.0939)
OKLCHoklch(61.49% 0.164 145)
XYZxyz(14.3185, 25.1751, 8.8064)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D3F #9D3391
analogous
#5C9D33 #339D3F #339D74
triadic
#339D3F #3F339D #9D3F33
tetradic
#339D3F #335C9D #9D3391 #9D7433
square
#339D3F #335C9D #9D3391 #9D7433
split-complementary
#339D3F #74339D #9D335C
monochromatic
#15411A #246F2C #339D3F #49C457 #77D382

Accessibility & contrast

On white

3.48
#339D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#339D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D3F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D3F#FFFFFF#000000##000000
##339D3F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08F35
Deuteranopia (green-blind)
#938647
Tritanopia (blue-blind)
#149989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d3f;
/* rgb */ color: rgb(51, 157, 63);
/* oklch */ color: oklch(61.5% 0.164 145.0);
Tailwind
colors: {
  custom: {
    50: '#79bb77',
    500: '#339d3f',
    950: '#000000',
  },
}
SCSS
$custom: #339d3f;
$custom-light: #79bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#339d3f",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 63
  },
  "hsl": {
    "h": 126.792,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.16392,
    "h": 145
  },
  "luminance": 0.25177
}

Semantic roles & 50–950 ramp

primary
#339D3F
secondary
#BB70B3
accent
#4DCADA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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