#339E2A#339E2A

#339E2A is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.181 H 142.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#339E2A
RGBrgb(51, 158, 42)
HSLhsl(115, 58%, 39%)
HSVhsv(115, 73%, 62%)
CMYKcmyk(67.7%, 0%, 73.4%, 38%)
CIE-LABlab(57.39, -52.22, 49.02)
CIE-LCHlch(57.39, 71.62, 136.81°)
OKLaboklab(61.55% -0.1423 0.1112)
OKLCHoklch(61.55% 0.181 142)
XYZxyz(14.0092, 25.3232, 6.3396)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E2A #952A9E
analogous
#6D9E2A #339E2A #2A9E5B
triadic
#339E2A #2A339E #9E2A33
tetradic
#339E2A #2A6D9E #952A9E #9E5B2A
square
#339E2A #2A6D9E #952A9E #9E5B2A
split-complementary
#339E2A #5B2A9E #9E2A6D
monochromatic
#143D10 #236E1D #339E2A #46CB3A #73D86B

Accessibility & contrast

On white

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

On black

6.06
#339E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E2A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E2A#FFFFFF#000000##000000
##339E2A1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #339e2a;
/* rgb */ color: rgb(51, 158, 42);
/* oklch */ color: oklch(61.5% 0.181 142.0);
Tailwind
colors: {
  custom: {
    50: '#7abc6b',
    500: '#339e2a',
    950: '#000000',
  },
}
SCSS
$custom: #339e2a;
$custom-light: #7abc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#339e2a",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 115.345,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.18053,
    "h": 142
  },
  "luminance": 0.25325
}

Semantic roles & 50–950 ramp

primary
#339E2A
secondary
#B766BE
accent
#47E1D5
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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