#339520#339520

#339520 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.176 H 140.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#339520
RGBrgb(51, 149, 32)
HSLhsl(110, 65%, 35%)
HSVhsv(110, 79%, 58%)
CMYKcmyk(65.8%, 0%, 78.5%, 41.6%)
CIE-LABlab(54.35, -49.81, 49.58)
CIE-LCHlch(54.35, 70.28, 135.14°)
OKLaboklab(59% -0.1363 0.1109)
OKLCHoklch(59% 0.176 140.9)
XYZxyz(12.3728, 22.3018, 5.0189)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339520 #822095
analogous
#6E9520 #339520 #209547
triadic
#339520 #203395 #952033
tetradic
#339520 #206E95 #822095 #954720
square
#339520 #206E95 #822095 #954720
split-complementary
#339520 #472095 #95206E
monochromatic
#11300A #226315 #339520 #44C72B #6BDA55

Accessibility & contrast

On white

3.85
#339520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#339520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339520
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339520#FFFFFF#000000##000000
##3395201.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#22907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #339520;
/* rgb */ color: rgb(51, 149, 32);
/* oklch */ color: oklch(59.0% 0.176 140.9);
Tailwind
colors: {
  custom: {
    50: '#78b565',
    500: '#339520',
    950: '#000000',
  },
}
SCSS
$custom: #339520;
$custom-light: #78b565;
$custom-dark: #000000;
JSON
{
  "hex": "#339520",
  "rgb": {
    "r": 51,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 110.256,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.17572,
    "h": 140.9
  },
  "luminance": 0.22303
}

Semantic roles & 50–950 ramp

primary
#339520
secondary
#AD53BE
accent
#40E8CC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #339520

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

Preview Lab → · Contrast checker → · Palette generator →

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