#337120#337120

#337120 is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.131 H 139.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#337120
RGBrgb(51, 113, 32)
HSLhsl(106, 56%, 28%)
HSVhsv(106, 72%, 44%)
CMYKcmyk(54.9%, 0%, 71.7%, 55.7%)
CIE-LABlab(42.18, -36.03, 37.30)
CIE-LCHlch(42.18, 51.86, 134.01°)
OKLaboklab(48.96% -0.0991 0.0853)
OKLCHoklch(48.96% 0.131 139.3)
XYZxyz(7.5308, 12.6178, 3.4049)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337120 #5E2071
analogous
#5B7120 #337120 #207135
triadic
#337120 #203371 #712033
tetradic
#337120 #205B71 #5E2071 #713520
square
#337120 #205B71 #5E2071 #713520
split-complementary
#337120 #352071 #71205B
monochromatic
#0B1807 #1D4112 #337120 #49A12E #62C942

Accessibility & contrast

On white

5.96
#337120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#337120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337120
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337120#FFFFFF#000000##FFFFFF
##3371201.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746714
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#2D6D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337120;
/* rgb */ color: rgb(51, 113, 32);
/* oklch */ color: oklch(49.0% 0.131 139.3);
Tailwind
colors: {
  custom: {
    50: '#719a60',
    500: '#337120',
    950: '#000000',
  },
}
SCSS
$custom: #337120;
$custom-light: #719a60;
$custom-dark: #000000;
JSON
{
  "hex": "#337120",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 32
  },
  "hsl": {
    "h": 105.926,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48956,
    "c": 0.13072,
    "h": 139.3
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#337120
secondary
#8F48A5
accent
#49DFBC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337120

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

Preview Lab → · Contrast checker → · Palette generator →

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