#337040#337040

#337040 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.099 H 148.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#337040
RGBrgb(51, 112, 64)
HSLhsl(133, 37%, 32%)
HSVhsv(133, 54%, 44%)
CMYKcmyk(54.5%, 0%, 42.9%, 56.1%)
CIE-LABlab(42.25, -31.18, 20.82)
CIE-LCHlch(42.25, 37.49, 146.27°)
OKLaboklab(49.14% -0.0846 0.0515)
OKLCHoklch(49.14% 0.099 148.6)
XYZxyz(8.0843, 12.6617, 6.8674)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337040 #703363
analogous
#457033 #337040 #33705F
triadic
#337040 #403370 #704033
tetradic
#337040 #334570 #703363 #705F33
square
#337040 #334570 #703363 #705F33
split-complementary
#337040 #5F3370 #703345
monochromatic
#0D1C10 #204628 #337040 #469A58 #65B977

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337040#FFFFFF#000000##FFFFFF
##3370401.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)
#71673D
Deuteranopia (green-blind)
#696143
Tritanopia (blue-blind)
#276E64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337040;
/* rgb */ color: rgb(51, 112, 64);
/* oklch */ color: oklch(49.1% 0.099 148.6);
Tailwind
colors: {
  custom: {
    50: '#709975',
    500: '#337040',
    950: '#000000',
  },
}
SCSS
$custom: #337040;
$custom-light: #709975;
$custom-dark: #000000;
JSON
{
  "hex": "#337040",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 64
  },
  "hsl": {
    "h": 132.787,
    "s": 37.423,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.09904,
    "h": 148.6
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#337040
secondary
#A15E93
accent
#5AB5CD
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337040

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

Preview Lab → · Contrast checker → · Palette generator →

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