#339D2C#339D2C

#339D2C is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.178 H 142.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#339D2C
RGBrgb(51, 157, 44)
HSLhsl(116, 56%, 39%)
HSVhsv(116, 72%, 62%)
CMYKcmyk(67.5%, 0%, 72%, 38.4%)
CIE-LABlab(57.07, -51.70, 47.92)
CIE-LCHlch(57.07, 70.49, 137.17°)
OKLaboklab(61.29% -0.1407 0.1091)
OKLCHoklch(61.29% 0.178 142.2)
XYZxyz(13.8761, 24.9982, 6.4762)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339D2C #962C9D
analogous
#6C9D2C #339D2C #2C9D5E
triadic
#339D2C #2C339D #9D2C33
tetradic
#339D2C #2C6C9D #962C9D #9D5E2C
square
#339D2C #2C6C9D #962C9D #9D5E2C
split-complementary
#339D2C #5E2C9D #9D2C6C
monochromatic
#143D11 #236D1F #339D2C #46C93D #74D66D

Accessibility & contrast

On white

3.50
#339D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#339D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339D2C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339D2C#FFFFFF#000000##000000
##339D2C1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1A
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#1B9887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339d2c;
/* rgb */ color: rgb(51, 157, 44);
/* oklch */ color: oklch(61.3% 0.178 142.2);
Tailwind
colors: {
  custom: {
    50: '#7abb6c',
    500: '#339d2c',
    950: '#000000',
  },
}
SCSS
$custom: #339d2c;
$custom-light: #7abb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#339d2c",
  "rgb": {
    "r": 51,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 116.283,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.17809,
    "h": 142.2
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#339D2C
secondary
#B868BD
accent
#48E0D6
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #339D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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