#337131#337131

#337131 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.2% C 0.116 H 143.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#337131
RGBrgb(51, 113, 49)
HSLhsl(118, 40%, 32%)
HSVhsv(118, 57%, 44%)
CMYKcmyk(54.9%, 0%, 56.6%, 55.7%)
CIE-LABlab(42.36, -34.05, 29.24)
CIE-LCHlch(42.36, 44.88, 139.35°)
OKLaboklab(49.16% -0.0927 0.0698)
OKLCHoklch(49.16% 0.116 143)
XYZxyz(7.8243, 12.7352, 4.9510)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337131 #6F3171
analogous
#537131 #337131 #31714F
triadic
#337131 #313371 #713133
tetradic
#337131 #315371 #6F3171 #714F31
square
#337131 #315371 #6F3171 #714F31
split-complementary
#337131 #4F3171 #713153
monochromatic
#0C1C0C #20461E #337131 #469C44 #64BB62

Accessibility & contrast

On white

5.92
#337131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#337131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337131
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337131#FFFFFF#000000##FFFFFF
##3371311.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#2A6E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337131;
/* rgb */ color: rgb(51, 113, 49);
/* oklch */ color: oklch(49.2% 0.116 143.0);
Tailwind
colors: {
  custom: {
    50: '#719a6b',
    500: '#337131',
    950: '#000000',
  },
}
SCSS
$custom: #337131;
$custom-light: #719a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#337131",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 49
  },
  "hsl": {
    "h": 118.125,
    "s": 39.506,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.11602,
    "h": 143
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#337131
secondary
#A05CA2
accent
#58CFCC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #337131

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

Preview Lab → · Contrast checker → · Palette generator →

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