#339A2C#339A2C

#339A2C is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.174 H 142.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#339A2C
RGBrgb(51, 154, 44)
HSLhsl(116, 56%, 39%)
HSVhsv(116, 71%, 60%)
CMYKcmyk(66.9%, 0%, 71.4%, 39.6%)
CIE-LABlab(56.08, -50.64, 46.89)
CIE-LCHlch(56.08, 69.01, 137.20°)
OKLaboklab(60.47% -0.1379 0.107)
OKLCHoklch(60.47% 0.175 142.2)
XYZxyz(13.3747, 23.9955, 6.3091)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339A2C #932C9A
analogous
#6A9A2C #339A2C #2C9A5C
triadic
#339A2C #2C339A #9A2C33
tetradic
#339A2C #2C6A9A #932C9A #9A5C2C
square
#339A2C #2C6A9A #932C9A #9A5C2C
split-complementary
#339A2C #5C2C9A #9A2C6A
monochromatic
#133B11 #236A1E #339A2C #45C73C #72D56C

Accessibility & contrast

On white

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

On black

5.80
#339A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339A2C
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339A2C#FFFFFF#000000##000000
##339A2C1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1B
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#1D9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339a2c;
/* rgb */ color: rgb(51, 154, 44);
/* oklch */ color: oklch(60.5% 0.174 142.2);
Tailwind
colors: {
  custom: {
    50: '#79b96c',
    500: '#339a2c',
    950: '#000000',
  },
}
SCSS
$custom: #339a2c;
$custom-light: #79b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#339a2c",
  "rgb": {
    "r": 51,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 116.182,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60469,
    "c": 0.1745,
    "h": 142.2
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#339A2C
secondary
#B666BC
accent
#49DFD5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #339A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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