#339C2C#339C2C

#339C2C is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.177 H 142.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#339C2C
RGBrgb(51, 156, 44)
HSLhsl(116, 56%, 39%)
HSVhsv(116, 72%, 61%)
CMYKcmyk(67.3%, 0%, 71.8%, 38.8%)
CIE-LABlab(56.74, -51.34, 47.58)
CIE-LCHlch(56.74, 70.00, 137.18°)
OKLaboklab(61.02% -0.1398 0.1084)
OKLCHoklch(61.02% 0.177 142.2)
XYZxyz(13.7076, 24.6612, 6.4201)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C2C #952C9C
analogous
#6B9C2C #339C2C #2C9C5D
triadic
#339C2C #2C339C #9C2C33
tetradic
#339C2C #2C6B9C #952C9C #9C5D2C
square
#339C2C #2C6B9C #952C9C #9C5D2C
split-complementary
#339C2C #5D2C9C #9C2C6B
monochromatic
#143D11 #236C1F #339C2C #46C83D #73D66D

Accessibility & contrast

On white

3.54
#339C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#339C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C2C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C2C#FFFFFF#000000##000000
##339C2C1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1A
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#1C9786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c2c;
/* rgb */ color: rgb(51, 156, 44);
/* oklch */ color: oklch(61.0% 0.177 142.2);
Tailwind
colors: {
  custom: {
    50: '#79ba6c',
    500: '#339c2c',
    950: '#000000',
  },
}
SCSS
$custom: #339c2c;
$custom-light: #79ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339c2c",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 116.25,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.17689,
    "h": 142.2
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #339C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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