#339B2F#339B2F

#339B2F is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.174 H 142.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#339B2F
RGBrgb(51, 155, 47)
HSLhsl(118, 53%, 40%)
HSVhsv(118, 70%, 61%)
CMYKcmyk(67.1%, 0%, 69.7%, 39.2%)
CIE-LABlab(56.44, -50.72, 46.04)
CIE-LCHlch(56.44, 68.50, 137.77°)
OKLaboklab(60.77% -0.1379 0.1056)
OKLCHoklch(60.77% 0.174 142.6)
XYZxyz(13.5989, 24.3503, 6.6722)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2F #972F9B
analogous
#699B2F #339B2F #2F9B61
triadic
#339B2F #2F339B #9B2F33
tetradic
#339B2F #2F699B #972F9B #9B612F
square
#339B2F #2F699B #972F9B #9B612F
split-complementary
#339B2F #612F9B #9B2F69
monochromatic
#143D13 #246C21 #339B2F #47C642 #74D471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339B2F#FFFFFF#000000##000000
##339B2F1.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)
#9E8D1F
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#1C9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b2f;
/* rgb */ color: rgb(51, 155, 47);
/* oklch */ color: oklch(60.8% 0.174 142.6);
Tailwind
colors: {
  custom: {
    50: '#79b96d',
    500: '#339b2f',
    950: '#000000',
  },
}
SCSS
$custom: #339b2f;
$custom-light: #79b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2f",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 117.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.17369,
    "h": 142.6
  },
  "luminance": 0.24352
}

Semantic roles & 50–950 ramp

primary
#339B2F
secondary
#B86ABB
accent
#4BDDD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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