#339A28#339A28

#339A28 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.177 H 141.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#339A28
RGBrgb(51, 154, 40)
HSLhsl(114, 59%, 38%)
HSVhsv(114, 74%, 60%)
CMYKcmyk(66.9%, 0%, 74%, 39.6%)
CIE-LABlab(56.05, -50.98, 48.41)
CIE-LCHlch(56.05, 70.30, 136.48°)
OKLaboklab(60.44% -0.139 0.1096)
OKLCHoklch(60.44% 0.177 141.7)
XYZxyz(13.3031, 23.9669, 5.9321)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A28 #8F289A
analogous
#6C9A28 #339A28 #289A56
triadic
#339A28 #28339A #9A2833
tetradic
#339A28 #286C9A #8F289A #9A5628
square
#339A28 #286C9A #8F289A #9A5628
split-complementary
#339A28 #56289A #9A286C
monochromatic
#13390F #23691B #339A28 #43CA35 #70D765

Accessibility & contrast

On white

3.62
#339A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#339A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A28
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A28#FFFFFF#000000##000000
##339A281.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#928334
Tritanopia (blue-blind)
#1E9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a28;
/* rgb */ color: rgb(51, 154, 40);
/* oklch */ color: oklch(60.4% 0.177 141.7);
Tailwind
colors: {
  custom: {
    50: '#79b969',
    500: '#339a28',
    950: '#000000',
  },
}
SCSS
$custom: #339a28;
$custom-light: #79b969;
$custom-dark: #000000;
JSON
{
  "hex": "#339a28",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 114.211,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.17703,
    "h": 141.7
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#339A28
secondary
#B461BD
accent
#46E2D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A28

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

Preview Lab → · Contrast checker → · Palette generator →

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