#339B31#339B31

#339B31 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.8% C 0.172 H 142.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#339B31
RGBrgb(51, 155, 49)
HSLhsl(119, 52%, 40%)
HSVhsv(119, 68%, 61%)
CMYKcmyk(67.1%, 0%, 68.4%, 39.2%)
CIE-LABlab(56.45, -50.52, 45.22)
CIE-LCHlch(56.45, 67.80, 138.17°)
OKLaboklab(60.79% -0.1373 0.1041)
OKLCHoklch(60.79% 0.172 142.8)
XYZxyz(13.6402, 24.3668, 6.8896)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B31 #99319B
analogous
#689B31 #339B31 #319B64
triadic
#339B31 #31339B #9B3133
tetradic
#339B31 #31689B #99319B #9B6431
square
#339B31 #31689B #99319B #9B6431
split-complementary
#339B31 #64319B #9B3168
monochromatic
#143E14 #246D22 #339B31 #47C445 #75D373

Accessibility & contrast

On white

3.58
#339B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#339B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B31
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B31#FFFFFF#000000##000000
##339B311.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D23
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#1B9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b31;
/* rgb */ color: rgb(51, 155, 49);
/* oklch */ color: oklch(60.8% 0.172 142.8);
Tailwind
colors: {
  custom: {
    50: '#79b96e',
    500: '#339b31',
    950: '#000000',
  },
}
SCSS
$custom: #339b31;
$custom-light: #79b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#339b31",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 118.868,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.17229,
    "h": 142.8
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#339B31
secondary
#B96DBB
accent
#4CDBD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B31

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

Preview Lab → · Contrast checker → · Palette generator →

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