#337B4E#337B4E

#337B4E is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.5% C 0.102 H 153.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337B4E
RGBrgb(51, 123, 78)
HSLhsl(143, 41%, 34%)
HSVhsv(143, 59%, 48%)
CMYKcmyk(58.5%, 0%, 36.6%, 51.8%)
CIE-LABlab(46.20, -33.48, 18.03)
CIE-LCHlch(46.20, 38.02, 151.69°)
OKLaboklab(52.47% -0.0909 0.0453)
OKLCHoklch(52.47% 0.102 153.5)
XYZxyz(9.8226, 15.4189, 9.6648)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B4E #7B3360
analogous
#3C7B33 #337B4E #337B72
triadic
#337B4E #4E337B #7B4E33
tetradic
#337B4E #333C7B #7B3360 #7B7233
square
#337B4E #333C7B #7B3360 #7B7233
split-complementary
#337B4E #72337B #7B333C
monochromatic
#0F2417 #215033 #337B4E #45A669 #68C089

Accessibility & contrast

On white

5.14
#337B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#337B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B4E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B4E#FFFFFF#000000##FFFFFF
##337B4E1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#716B51
Tritanopia (blue-blind)
#1E7A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337b4e;
/* rgb */ color: rgb(51, 123, 78);
/* oklch */ color: oklch(52.5% 0.102 153.5);
Tailwind
colors: {
  custom: {
    50: '#71a280',
    500: '#337b4e',
    950: '#000000',
  },
}
SCSS
$custom: #337b4e;
$custom-light: #71a280;
$custom-dark: #000000;
JSON
{
  "hex": "#337b4e",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 142.5,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.10154,
    "h": 153.5
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#337B4E
secondary
#A8628E
accent
#57A3D1
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #337B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#337B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva