#339E1F#339E1F

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

Color values

HEX#339E1F
RGBrgb(51, 158, 31)
HSLhsl(111, 67%, 37%)
HSVhsv(111, 80%, 62%)
CMYKcmyk(67.7%, 0%, 80.4%, 38%)
CIE-LABlab(57.32, -53.01, 52.75)
CIE-LCHlch(57.32, 74.78, 135.14°)
OKLaboklab(61.47% -0.145 0.1174)
OKLCHoklch(61.47% 0.187 141)
XYZxyz(13.8387, 25.2550, 5.4415)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339E1F #8A1F9E
analogous
#739E1F #339E1F #1F9E4A
triadic
#339E1F #1F339E #9E1F33
tetradic
#339E1F #1F739E #8A1F9E #9E4A1F
square
#339E1F #1F739E #8A1F9E #9E4A1F
split-complementary
#339E1F #4A1F9E #9E1F73
monochromatic
#12380B #226B15 #339E1F #44D129 #6EDE59

Accessibility & contrast

On white

3.47
#339E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#339E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339E1F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339E1F#FFFFFF#000000##000000
##339E1F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#96862E
Tritanopia (blue-blind)
#1E9987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #339e1f;
/* rgb */ color: rgb(51, 158, 31);
/* oklch */ color: oklch(61.5% 0.187 141.0);
Tailwind
colors: {
  custom: {
    50: '#7abc66',
    500: '#339e1f',
    950: '#000000',
  },
}
SCSS
$custom: #339e1f;
$custom-light: #7abc66;
$custom-dark: #000000;
JSON
{
  "hex": "#339e1f",
  "rgb": {
    "r": 51,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 110.551,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6147,
    "c": 0.18654,
    "h": 141
  },
  "luminance": 0.25256
}

Semantic roles & 50–950 ramp

primary
#339E1F
secondary
#B156C2
accent
#3EEACF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #339E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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