#337B2E#337B2E

#337B2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.133 H 142.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#337B2E
RGBrgb(51, 123, 46)
HSLhsl(116, 46%, 33%)
HSVhsv(116, 63%, 48%)
CMYKcmyk(58.5%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.72, -38.66, 34.70)
CIE-LCHlch(45.72, 51.95, 138.09°)
OKLaboklab(51.92% -0.1053 0.0814)
OKLCHoklch(51.92% 0.133 142.3)
XYZxyz(8.9409, 15.0662, 5.0211)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2E #762E7B
analogous
#597B2E #337B2E #2E7B4F
triadic
#337B2E #2E337B #7B2E33
tetradic
#337B2E #2E597B #762E7B #7B4F2E
square
#337B2E #2E597B #762E7B #7B4F2E
split-complementary
#337B2E #4F2E7B #7B2E59
monochromatic
#0E220D #214E1D #337B2E #45A83F #66C360

Accessibility & contrast

On white

5.23
#337B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#337B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B2E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B2E#FFFFFF#000000##FFFFFF
##337B2E1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#28776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2e;
/* rgb */ color: rgb(51, 123, 46);
/* oklch */ color: oklch(51.9% 0.133 142.3);
Tailwind
colors: {
  custom: {
    50: '#73a26a',
    500: '#337b2e',
    950: '#000000',
  },
}
SCSS
$custom: #337b2e;
$custom-light: #73a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2e",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 116.104,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.13311,
    "h": 142.3
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#337B2E
secondary
#A55BAA
accent
#53D5CD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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