#339B2D#339B2D

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

Color values

HEX#339B2D
RGBrgb(51, 155, 45)
HSLhsl(117, 55%, 39%)
HSVhsv(117, 71%, 61%)
CMYKcmyk(67.1%, 0%, 71%, 39.2%)
CIE-LABlab(56.42, -50.90, 46.84)
CIE-LCHlch(56.42, 69.17, 137.38°)
OKLaboklab(60.75% -0.1385 0.107)
OKLCHoklch(60.75% 0.175 142.3)
XYZxyz(13.5595, 24.3346, 6.4646)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2D #952D9B
analogous
#6A9B2D #339B2D #2D9B5E
triadic
#339B2D #2D339B #9B2D33
tetradic
#339B2D #2D6A9B #952D9B #9B5E2D
square
#339B2D #2D6A9B #952D9B #9B5E2D
split-complementary
#339B2D #5E2D9B #9B2D6A
monochromatic
#143C11 #236C1F #339B2D #46C73E #73D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339B2D#FFFFFF#000000##000000
##339B2D1.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)
#9F8C1C
Deuteranopia (green-blind)
#928438
Tritanopia (blue-blind)
#1C9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b2d;
/* rgb */ color: rgb(51, 155, 45);
/* oklch */ color: oklch(60.8% 0.175 142.3);
Tailwind
colors: {
  custom: {
    50: '#79b96c',
    500: '#339b2d',
    950: '#000000',
  },
}
SCSS
$custom: #339b2d;
$custom-light: #79b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2d",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 116.727,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.17504,
    "h": 142.3
  },
  "luminance": 0.24336
}

Semantic roles & 50–950 ramp

primary
#339B2D
secondary
#B768BC
accent
#49DED6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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