#339B2E#339B2E

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

Color values

HEX#339B2E
RGBrgb(51, 155, 46)
HSLhsl(117, 54%, 39%)
HSVhsv(117, 70%, 61%)
CMYKcmyk(67.1%, 0%, 70.3%, 39.2%)
CIE-LABlab(56.43, -50.81, 46.44)
CIE-LCHlch(56.43, 68.84, 137.57°)
OKLaboklab(60.76% -0.1382 0.1063)
OKLCHoklch(60.76% 0.174 142.4)
XYZxyz(13.5790, 24.3424, 6.5672)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2E #962E9B
analogous
#6A9B2E #339B2E #2E9B60
triadic
#339B2E #2E339B #9B2E33
tetradic
#339B2E #2E6A9B #962E9B #9B602E
square
#339B2E #2E6A9B #962E9B #9B602E
split-complementary
#339B2E #602E9B #9B2E6A
monochromatic
#143D12 #236C20 #339B2E #46C640 #74D46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #339b2e;
/* rgb */ color: rgb(51, 155, 46);
/* oklch */ color: oklch(60.8% 0.174 142.4);
Tailwind
colors: {
  custom: {
    50: '#79b96d',
    500: '#339b2e',
    950: '#000000',
  },
}
SCSS
$custom: #339b2e;
$custom-light: #79b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2e",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 117.248,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.17437,
    "h": 142.4
  },
  "luminance": 0.24344
}

Semantic roles & 50–950 ramp

primary
#339B2E
secondary
#B869BC
accent
#4ADED7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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