#339B28#339B28

#339B28 is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.178 H 141.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#339B28
RGBrgb(51, 155, 40)
HSLhsl(114, 59%, 38%)
HSVhsv(114, 74%, 61%)
CMYKcmyk(67.1%, 0%, 74.2%, 39.2%)
CIE-LABlab(56.39, -51.33, 48.75)
CIE-LCHlch(56.39, 70.79, 136.48°)
OKLaboklab(60.71% -0.14 0.1103)
OKLCHoklch(60.71% 0.178 141.8)
XYZxyz(13.4689, 24.2983, 5.9873)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339B28 #90289B
analogous
#6C9B28 #339B28 #289B56
triadic
#339B28 #28339B #9B2833
tetradic
#339B28 #286C9B #90289B #9B5628
square
#339B28 #286C9B #90289B #9B5628
split-complementary
#339B28 #56289B #9B286C
monochromatic
#133A0F #236A1B #339B28 #44CB35 #71D766

Accessibility & contrast

On white

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

On black

5.86
#339B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339B28
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339B28#FFFFFF#000000##000000
##339B281.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C13
Deuteranopia (green-blind)
#928434
Tritanopia (blue-blind)
#1D9685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339b28;
/* rgb */ color: rgb(51, 155, 40);
/* oklch */ color: oklch(60.7% 0.178 141.8);
Tailwind
colors: {
  custom: {
    50: '#79b96a',
    500: '#339b28',
    950: '#000000',
  },
}
SCSS
$custom: #339b28;
$custom-light: #79b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#339b28",
  "rgb": {
    "r": 51,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 114.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6071,
    "c": 0.17822,
    "h": 141.8
  },
  "luminance": 0.243
}

Semantic roles & 50–950 ramp

primary
#339B28
secondary
#B561BD
accent
#46E2D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339B28

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

Preview Lab → · Contrast checker → · Palette generator →

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