#339A3B#339A3B

#339A3B is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.163 H 144.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#339A3B
RGBrgb(51, 154, 59)
HSLhsl(125, 50%, 40%)
HSVhsv(125, 67%, 60%)
CMYKcmyk(66.9%, 0%, 61.7%, 39.6%)
CIE-LABlab(56.22, -49.06, 40.50)
CIE-LCHlch(56.22, 63.62, 140.46°)
OKLaboklab(60.62% -0.1328 0.0951)
OKLCHoklch(60.62% 0.163 144.4)
XYZxyz(13.7094, 24.1294, 8.0718)
Luminance0.2413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A3B #9A3392
analogous
#5F9A33 #339A3B #339A6E
triadic
#339A3B #3B339A #9A3B33
tetradic
#339A3B #335F9A #9A3392 #9A6E33
square
#339A3B #335F9A #9A3392 #9A6E33
split-complementary
#339A3B #6E339A #9A335F
monochromatic
#153E18 #246C29 #339A3B #48C251 #76D27D

Accessibility & contrast

On white

3.60
#339A3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#339A3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A3B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A3B#FFFFFF#000000##000000
##339A3B1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C31
Deuteranopia (green-blind)
#908343
Tritanopia (blue-blind)
#189686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339a3b;
/* rgb */ color: rgb(51, 154, 59);
/* oklch */ color: oklch(60.6% 0.163 144.4);
Tailwind
colors: {
  custom: {
    50: '#78b974',
    500: '#339a3b',
    950: '#000000',
  },
}
SCSS
$custom: #339a3b;
$custom-light: #78b974;
$custom-dark: #000000;
JSON
{
  "hex": "#339a3b",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 59
  },
  "hsl": {
    "h": 124.66,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.16337,
    "h": 144.4
  },
  "luminance": 0.24131
}

Semantic roles & 50–950 ramp

primary
#339A3B
secondary
#BA6FB4
accent
#4ECFDA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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