#337128#337128

#337128 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.124 H 140.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#337128
RGBrgb(51, 113, 40)
HSLhsl(111, 48%, 30%)
HSVhsv(111, 65%, 44%)
CMYKcmyk(54.9%, 0%, 64.6%, 55.7%)
CIE-LABlab(42.26, -35.20, 33.69)
CIE-LCHlch(42.26, 48.72, 136.26°)
OKLaboklab(49.04% -0.0963 0.0786)
OKLCHoklch(49.04% 0.124 140.8)
XYZxyz(7.6530, 12.6667, 4.0487)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337128 #662871
analogous
#577128 #337128 #287142
triadic
#337128 #283371 #712833
tetradic
#337128 #285771 #662871 #714228
square
#337128 #285771 #662871 #714228
split-complementary
#337128 #422871 #712857
monochromatic
#0A1708 #1F4418 #337128 #479E38 #63C252

Accessibility & contrast

On white

5.94
#337128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#337128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337128
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337128#FFFFFF#000000##FFFFFF
##3371281.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6C622E
Tritanopia (blue-blind)
#2C6D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337128;
/* rgb */ color: rgb(51, 113, 40);
/* oklch */ color: oklch(49.0% 0.124 140.8);
Tailwind
colors: {
  custom: {
    50: '#719a65',
    500: '#337128',
    950: '#000000',
  },
}
SCSS
$custom: #337128;
$custom-light: #719a65;
$custom-dark: #000000;
JSON
{
  "hex": "#337128",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 110.959,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49041,
    "c": 0.1243,
    "h": 140.8
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#337128
secondary
#9752A3
accent
#50D7C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337128

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

Preview Lab → · Contrast checker → · Palette generator →

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