#339952#339952

#339952 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.7% C 0.141 H 149.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#339952
RGBrgb(51, 153, 82)
HSLhsl(138, 50%, 40%)
HSVhsv(138, 67%, 60%)
CMYKcmyk(66.7%, 0%, 46.4%, 40%)
CIE-LABlab(56.18, -45.33, 28.89)
CIE-LCHlch(56.18, 53.75, 147.49°)
OKLaboklab(60.69% -0.1223 0.0708)
OKLCHoklch(60.69% 0.141 149.9)
XYZxyz(14.2784, 24.0940, 11.8791)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339952 #99337A
analogous
#479933 #339952 #339985
triadic
#339952 #523399 #995233
tetradic
#339952 #334799 #99337A #998533
square
#339952 #334799 #99337A #998533
split-complementary
#339952 #853399 #993347
monochromatic
#143D21 #246B39 #339952 #47C26D #75D191

Accessibility & contrast

On white

3.61
#339952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#339952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339952
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339952#FFFFFF#000000##000000
##3399521.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4D
Deuteranopia (green-blind)
#8D8357
Tritanopia (blue-blind)
#079688
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339952;
/* rgb */ color: rgb(51, 153, 82);
/* oklch */ color: oklch(60.7% 0.141 149.9);
Tailwind
colors: {
  custom: {
    50: '#77b884',
    500: '#339952',
    950: '#000000',
  },
}
SCSS
$custom: #339952;
$custom-light: #77b884;
$custom-dark: #000000;
JSON
{
  "hex": "#339952",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 82
  },
  "hsl": {
    "h": 138.235,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.1413,
    "h": 149.9
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#339952
secondary
#B96EA3
accent
#4EAFDA
background
#F7FBF8
surface
#EEF6EF
border
#C9D0CA
text
#0A110B
muted
#7C807C

Preview Lab

Preview with #339952

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

Preview Lab → · Contrast checker → · Palette generator →

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