#339F2B#339F2B

#339F2B is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.181 H 142.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#339F2B
RGBrgb(51, 159, 43)
HSLhsl(116, 57%, 40%)
HSVhsv(116, 73%, 62%)
CMYKcmyk(67.9%, 0%, 73%, 37.6%)
CIE-LABlab(57.73, -52.48, 48.98)
CIE-LCHlch(57.73, 71.79, 136.98°)
OKLaboklab(61.83% -0.1429 0.1112)
OKLCHoklch(61.83% 0.181 142.1)
XYZxyz(14.1986, 25.6730, 6.4921)
Luminance0.2567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2B #972B9F
analogous
#6D9F2B #339F2B #2B9F5D
triadic
#339F2B #2B339F #9F2B33
tetradic
#339F2B #2B6D9F #972B9F #9F5D2B
square
#339F2B #2B6D9F #972B9F #9F5D2B
split-complementary
#339F2B #5D2B9F #9F2B6D
monochromatic
#143F11 #246F1E #339F2B #47CA3D #74D76D

Accessibility & contrast

On white

3.42
#339F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#339F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F2B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F2B#FFFFFF#000000##000000
##339F2B1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2b;
/* rgb */ color: rgb(51, 159, 43);
/* oklch */ color: oklch(61.8% 0.181 142.1);
Tailwind
colors: {
  custom: {
    50: '#7abc6c',
    500: '#339f2b',
    950: '#000000',
  },
}
SCSS
$custom: #339f2b;
$custom-light: #7abc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2b",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 43
  },
  "hsl": {
    "h": 115.862,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.18108,
    "h": 142.1
  },
  "luminance": 0.25674
}

Semantic roles & 50–950 ramp

primary
#339F2B
secondary
#B867BE
accent
#47E1D6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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