#339C28#339C28

#339C28 is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.0% C 0.179 H 141.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#339C28
RGBrgb(51, 156, 40)
HSLhsl(114, 59%, 38%)
HSVhsv(114, 74%, 61%)
CMYKcmyk(67.3%, 0%, 74.4%, 38.8%)
CIE-LABlab(56.72, -51.68, 49.08)
CIE-LCHlch(56.72, 71.27, 136.48°)
OKLaboklab(60.98% -0.1409 0.111)
OKLCHoklch(60.98% 0.179 141.8)
XYZxyz(13.6360, 24.6325, 6.0430)
Luminance0.2463 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339C28 #91289C
analogous
#6D9C28 #339C28 #289C57
triadic
#339C28 #28339C #9C2833
tetradic
#339C28 #286D9C #91289C #9C5728
square
#339C28 #286D9C #91289C #9C5728
split-complementary
#339C28 #57289C #9C286D
monochromatic
#133B0F #236B1C #339C28 #44CB36 #71D867

Accessibility & contrast

On white

3.54
#339C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#339C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339C28
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339C28#FFFFFF#000000##000000
##339C281.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D12
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#1D9785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #339c28;
/* rgb */ color: rgb(51, 156, 40);
/* oklch */ color: oklch(61.0% 0.179 141.8);
Tailwind
colors: {
  custom: {
    50: '#79ba6a',
    500: '#339c28',
    950: '#000000',
  },
}
SCSS
$custom: #339c28;
$custom-light: #79ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#339c28",
  "rgb": {
    "r": 51,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 114.31,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60983,
    "c": 0.17939,
    "h": 141.8
  },
  "luminance": 0.24634
}

Semantic roles & 50–950 ramp

primary
#339C28
secondary
#B562BE
accent
#45E2D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339C28

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

Preview Lab → · Contrast checker → · Palette generator →

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