#339F31#339F31

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

Color values

HEX#339F31
RGBrgb(51, 159, 49)
HSLhsl(119, 53%, 41%)
HSVhsv(119, 69%, 62%)
CMYKcmyk(67.9%, 0%, 69.2%, 37.6%)
CIE-LABlab(57.77, -51.94, 46.63)
CIE-LCHlch(57.77, 69.80, 138.08°)
OKLaboklab(61.88% -0.1411 0.1071)
OKLCHoklch(61.88% 0.177 142.8)
XYZxyz(14.3169, 25.7203, 7.1152)
Luminance0.2572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339F31 #9D319F
analogous
#6A9F31 #339F31 #319F66
triadic
#339F31 #31339F #9F3133
tetradic
#339F31 #316A9F #9D319F #9F6631
square
#339F31 #316A9F #9D319F #9F6631
split-complementary
#339F31 #66319F #9F316A
monochromatic
#154114 #247023 #339F31 #49C647 #77D576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##339F31#FFFFFF#000000##000000
##339F311.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)
#A29021
Deuteranopia (green-blind)
#96873B
Tritanopia (blue-blind)
#199A89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #339f31;
/* rgb */ color: rgb(51, 159, 49);
/* oklch */ color: oklch(61.9% 0.177 142.8);
Tailwind
colors: {
  custom: {
    50: '#7abc6f',
    500: '#339f31',
    950: '#000000',
  },
}
SCSS
$custom: #339f31;
$custom-light: #7abc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#339f31",
  "rgb": {
    "r": 51,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 118.909,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.17714,
    "h": 142.8
  },
  "luminance": 0.25722
}

Semantic roles & 50–950 ramp

primary
#339F31
secondary
#BB6FBD
accent
#4CDCDA
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #339F31

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

Preview Lab → · Contrast checker → · Palette generator →

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