#339936#339936

#339936 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.166 H 143.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#339936
RGBrgb(51, 153, 54)
HSLhsl(122, 50%, 40%)
HSVhsv(122, 67%, 60%)
CMYKcmyk(66.7%, 0%, 64.7%, 40%)
CIE-LABlab(55.84, -49.28, 42.36)
CIE-LCHlch(55.84, 64.98, 139.31°)
OKLaboklab(60.29% -0.1337 0.0986)
OKLCHoklch(60.29% 0.166 143.6)
XYZxyz(13.4215, 23.7512, 7.3664)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339936 #993396
analogous
#639933 #339936 #339969
triadic
#339936 #363399 #993633
tetradic
#339936 #336399 #993396 #996933
square
#339936 #336399 #993396 #996933
split-complementary
#339936 #693399 #993363
monochromatic
#143D16 #246B26 #339936 #47C24B #75D178

Accessibility & contrast

On white

3.65
#339936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#339936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339936
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339936#FFFFFF#000000##000000
##3399361.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2A
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#1A9584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #339936;
/* rgb */ color: rgb(51, 153, 54);
/* oklch */ color: oklch(60.3% 0.166 143.6);
Tailwind
colors: {
  custom: {
    50: '#78b871',
    500: '#339936',
    950: '#000000',
  },
}
SCSS
$custom: #339936;
$custom-light: #78b871;
$custom-dark: #000000;
JSON
{
  "hex": "#339936",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 121.765,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.1661,
    "h": 143.6
  },
  "luminance": 0.23753
}

Semantic roles & 50–950 ramp

primary
#339936
secondary
#B96EB7
accent
#4ED5DA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #339936

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

Preview Lab → · Contrast checker → · Palette generator →

#339936 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva