#339E2B#339E2B

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

Color values

HEX#339E2B
RGBrgb(51, 158, 43)
HSLhsl(116, 57%, 39%)
HSVhsv(116, 73%, 62%)
CMYKcmyk(67.7%, 0%, 72.8%, 38%)
CIE-LABlab(57.40, -52.13, 48.64)
CIE-LCHlch(57.40, 71.30, 136.98°)
OKLaboklab(61.55% -0.142 0.1105)
OKLCHoklch(61.55% 0.18 142.1)
XYZxyz(14.0274, 25.3305, 6.4351)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E2B #962B9E
analogous
#6D9E2B #339E2B #2B9E5D
triadic
#339E2B #2B339E #9E2B33
tetradic
#339E2B #2B6D9E #962B9E #9E5D2B
square
#339E2B #2B6D9E #962B9E #9E5D2B
split-complementary
#339E2B #5D2B9E #9E2B6D
monochromatic
#143E11 #236E1E #339E2B #46CA3C #74D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339E2B#FFFFFF#000000##000000
##339E2B1.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)
#A28F17
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#1B9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e2b;
/* rgb */ color: rgb(51, 158, 43);
/* oklch */ color: oklch(61.6% 0.180 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abc6b',
    500: '#339e2b',
    950: '#000000',
  },
}
SCSS
$custom: #339e2b;
$custom-light: #7abc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#339e2b",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 115.826,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.17991,
    "h": 142.1
  },
  "luminance": 0.25332
}

Semantic roles & 50–950 ramp

primary
#339E2B
secondary
#B867BE
accent
#47E0D6
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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