#339E2C#339E2C

#339E2C is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.6% C 0.179 H 142.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#339E2C
RGBrgb(51, 158, 44)
HSLhsl(116, 56%, 40%)
HSVhsv(116, 72%, 62%)
CMYKcmyk(67.7%, 0%, 72.2%, 38%)
CIE-LABlab(57.40, -52.05, 48.26)
CIE-LCHlch(57.40, 70.98, 137.16°)
OKLaboklab(61.56% -0.1417 0.1098)
OKLCHoklch(61.56% 0.179 142.2)
XYZxyz(14.0459, 25.3379, 6.5329)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E2C #972C9E
analogous
#6C9E2C #339E2C #2C9E5E
triadic
#339E2C #2C339E #9E2C33
tetradic
#339E2C #2C6C9E #972C9E #9E5E2C
square
#339E2C #2C6C9E #972C9E #9E5E2C
split-complementary
#339E2C #5E2C9E #9E2C6C
monochromatic
#143E11 #246E1F #339E2C #47C93E #74D76E

Accessibility & contrast

On white

3.46
#339E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#339E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E2C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E2C#FFFFFF#000000##000000
##339E2C1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F19
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#1B9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e2c;
/* rgb */ color: rgb(51, 158, 44);
/* oklch */ color: oklch(61.6% 0.179 142.2);
Tailwind
colors: {
  custom: {
    50: '#7abc6c',
    500: '#339e2c',
    950: '#000000',
  },
}
SCSS
$custom: #339e2c;
$custom-light: #7abc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339e2c",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 116.316,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.17927,
    "h": 142.2
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

primary
#339E2C
secondary
#B868BE
accent
#48E0D6
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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