#339B2C#339B2C

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

Color values

HEX#339B2C
RGBrgb(51, 155, 44)
HSLhsl(116, 56%, 39%)
HSVhsv(116, 72%, 61%)
CMYKcmyk(67.1%, 0%, 71.6%, 39.2%)
CIE-LABlab(56.41, -50.99, 47.23)
CIE-LCHlch(56.41, 69.51, 137.19°)
OKLaboklab(60.74% -0.1388 0.1077)
OKLCHoklch(60.74% 0.176 142.2)
XYZxyz(13.5405, 24.3270, 6.3644)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B2C #942C9B
analogous
#6B9B2C #339B2C #2C9B5D
triadic
#339B2C #2C339B #9B2C33
tetradic
#339B2C #2C6B9B #942C9B #9B5D2C
square
#339B2C #2C6B9B #942C9B #9B5D2C
split-complementary
#339B2C #5D2C9B #9B2C6B
monochromatic
#143C11 #236B1E #339B2C #45C83C #73D56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339B2C#FFFFFF#000000##000000
##339B2C1.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)
#9F8C1A
Deuteranopia (green-blind)
#928437
Tritanopia (blue-blind)
#1C9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b2c;
/* rgb */ color: rgb(51, 155, 44);
/* oklch */ color: oklch(60.7% 0.176 142.2);
Tailwind
colors: {
  custom: {
    50: '#79b96c',
    500: '#339b2c',
    950: '#000000',
  },
}
SCSS
$custom: #339b2c;
$custom-light: #79b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#339b2c",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 116.216,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.1757,
    "h": 142.2
  },
  "luminance": 0.24328
}

Semantic roles & 50–950 ramp

primary
#339B2C
secondary
#B767BC
accent
#49DFD6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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