#339B3F#339B3F

#339B3F is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.9% C 0.161 H 145.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#339B3F
RGBrgb(51, 155, 63)
HSLhsl(127, 50%, 40%)
HSVhsv(127, 67%, 61%)
CMYKcmyk(67.1%, 0%, 59.4%, 39.2%)
CIE-LABlab(56.59, -48.93, 39.03)
CIE-LCHlch(56.59, 62.59, 141.42°)
OKLaboklab(60.94% -0.1323 0.0923)
OKLCHoklch(60.94% 0.161 145.1)
XYZxyz(13.9829, 24.5039, 8.6945)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B3F #9B338F
analogous
#5B9B33 #339B3F #339B73
triadic
#339B3F #3F339B #9B3F33
tetradic
#339B3F #335B9B #9B338F #9B7333
square
#339B3F #335B9B #9B338F #9B7333
split-complementary
#339B3F #73339B #9B335B
monochromatic
#153F1A #246D2C #339B3F #48C356 #76D281

Accessibility & contrast

On white

3.56
#339B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#339B3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B3F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B3F#FFFFFF#000000##000000
##339B3F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D36
Deuteranopia (green-blind)
#918446
Tritanopia (blue-blind)
#159787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339b3f;
/* rgb */ color: rgb(51, 155, 63);
/* oklch */ color: oklch(60.9% 0.161 145.1);
Tailwind
colors: {
  custom: {
    50: '#78b977',
    500: '#339b3f',
    950: '#000000',
  },
}
SCSS
$custom: #339b3f;
$custom-light: #78b977;
$custom-dark: #000000;
JSON
{
  "hex": "#339b3f",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 63
  },
  "hsl": {
    "h": 126.923,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.16134,
    "h": 145.1
  },
  "luminance": 0.24505
}

Semantic roles & 50–950 ramp

primary
#339B3F
secondary
#BA6FB2
accent
#4ECADA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #339B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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