#337031#337031

#337031 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.9% C 0.115 H 143.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#337031
RGBrgb(51, 112, 49)
HSLhsl(118, 39%, 32%)
HSVhsv(118, 56%, 44%)
CMYKcmyk(54.5%, 0%, 56.3%, 56.1%)
CIE-LABlab(42.02, -33.61, 28.83)
CIE-LCHlch(42.02, 44.28, 139.38°)
OKLaboklab(48.88% -0.0915 0.0689)
OKLCHoklch(48.88% 0.115 143)
XYZxyz(7.7134, 12.5133, 4.9140)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337031 #6E3170
analogous
#537031 #337031 #31704F
triadic
#337031 #313370 #703133
tetradic
#337031 #315370 #6E3170 #704F31
square
#337031 #315370 #6E3170 #704F31
split-complementary
#337031 #4F3170 #703153
monochromatic
#0C1B0C #20451E #337031 #469B44 #64BA61

Accessibility & contrast

On white

6.00
#337031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#337031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337031
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337031#FFFFFF#000000##FFFFFF
##3370311.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72662B
Deuteranopia (green-blind)
#6A6136
Tritanopia (blue-blind)
#2A6D62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337031;
/* rgb */ color: rgb(51, 112, 49);
/* oklch */ color: oklch(48.9% 0.115 143.0);
Tailwind
colors: {
  custom: {
    50: '#709a6b',
    500: '#337031',
    950: '#000000',
  },
}
SCSS
$custom: #337031;
$custom-light: #709a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#337031",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 118.095,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.11453,
    "h": 143
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#337031
secondary
#9F5CA1
accent
#59CFCB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337031

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

Preview Lab → · Contrast checker → · Palette generator →

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