#339F2F#339F2F

#339F2F is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.178 H 142.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#339F2F
RGBrgb(51, 159, 47)
HSLhsl(118, 54%, 40%)
HSVhsv(118, 70%, 62%)
CMYKcmyk(67.9%, 0%, 70.4%, 37.6%)
CIE-LABlab(57.75, -52.13, 47.44)
CIE-LCHlch(57.75, 70.48, 137.70°)
OKLaboklab(61.86% -0.1418 0.1085)
OKLCHoklch(61.86% 0.179 142.6)
XYZxyz(14.2756, 25.7038, 6.8978)
Luminance0.2571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F2F #9B2F9F
analogous
#6B9F2F #339F2F #2F9F63
triadic
#339F2F #2F339F #9F2F33
tetradic
#339F2F #2F6B9F #9B2F9F #9F632F
square
#339F2F #2F6B9F #9B2F9F #9F632F
split-complementary
#339F2F #632F9F #9F2F6B
monochromatic
#154113 #247021 #339F2F #48C844 #76D673

Accessibility & contrast

On white

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

On black

6.14
#339F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339F2F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339F2F#FFFFFF#000000##000000
##339F2F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#199A89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f2f;
/* rgb */ color: rgb(51, 159, 47);
/* oklch */ color: oklch(61.9% 0.178 142.6);
Tailwind
colors: {
  custom: {
    50: '#7abc6e',
    500: '#339f2f',
    950: '#000000',
  },
}
SCSS
$custom: #339f2f;
$custom-light: #7abc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#339f2f",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 117.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6186,
    "c": 0.1785,
    "h": 142.6
  },
  "luminance": 0.25705
}

Semantic roles & 50–950 ramp

primary
#339F2F
secondary
#BA6DBD
accent
#4ADED8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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