#339B1F#339B1F

#339B1F is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.183 H 140.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#339B1F
RGBrgb(51, 155, 31)
HSLhsl(110, 67%, 36%)
HSVhsv(110, 80%, 61%)
CMYKcmyk(67.1%, 0%, 80%, 39.2%)
CIE-LABlab(56.33, -51.98, 51.81)
CIE-LCHlch(56.33, 73.39, 135.09°)
OKLaboklab(60.65% -0.1422 0.1154)
OKLCHoklch(60.65% 0.183 140.9)
XYZxyz(13.3332, 24.2441, 5.2730)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B1F #871F9B
analogous
#719B1F #339B1F #1F9B49
triadic
#339B1F #1F339B #9B1F33
tetradic
#339B1F #1F719B #871F9B #9B491F
square
#339B1F #1F719B #871F9B #9B491F
split-complementary
#339B1F #491F9B #9B1F71
monochromatic
#11350B #226815 #339B1F #44CE29 #6DDD57

Accessibility & contrast

On white

3.59
#339B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#339B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B1F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B1F#FFFFFF#000000##000000
##339B1F1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b1f;
/* rgb */ color: rgb(51, 155, 31);
/* oklch */ color: oklch(60.6% 0.183 140.9);
Tailwind
colors: {
  custom: {
    50: '#7ab965',
    500: '#339b1f',
    950: '#000000',
  },
}
SCSS
$custom: #339b1f;
$custom-light: #7ab965;
$custom-dark: #000000;
JSON
{
  "hex": "#339b1f",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 110.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.18314,
    "h": 140.9
  },
  "luminance": 0.24245
}

Semantic roles & 50–950 ramp

primary
#339B1F
secondary
#B055C1
accent
#3EEACE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #339B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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