#339E2F#339E2F

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

Color values

HEX#339E2F
RGBrgb(51, 158, 47)
HSLhsl(118, 54%, 40%)
HSVhsv(118, 70%, 62%)
CMYKcmyk(67.7%, 0%, 70.3%, 38%)
CIE-LABlab(57.43, -51.78, 47.09)
CIE-LCHlch(57.43, 69.99, 137.72°)
OKLaboklab(61.59% -0.1408 0.1078)
OKLCHoklch(61.59% 0.177 142.6)
XYZxyz(14.1044, 25.3613, 6.8407)
Luminance0.2536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E2F #9A2F9E
analogous
#6A9E2F #339E2F #2F9E63
triadic
#339E2F #2F339E #9E2F33
tetradic
#339E2F #2F6A9E #9A2F9E #9E632F
square
#339E2F #2F6A9E #9A2F9E #9E632F
split-complementary
#339E2F #632F9E #9E2F6A
monochromatic
#154013 #246F21 #339E2F #48C743 #76D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339E2F#FFFFFF#000000##000000
##339E2F1.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)
#A28F1E
Deuteranopia (green-blind)
#95873A
Tritanopia (blue-blind)
#1A9988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e2f;
/* rgb */ color: rgb(51, 158, 47);
/* oklch */ color: oklch(61.6% 0.177 142.6);
Tailwind
colors: {
  custom: {
    50: '#7abc6e',
    500: '#339e2f',
    950: '#000000',
  },
}
SCSS
$custom: #339e2f;
$custom-light: #7abc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#339e2f",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 117.838,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.1773,
    "h": 142.6
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#339E2F
secondary
#BA6CBD
accent
#4ADED8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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