#337E2E#337E2E

#337E2E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.137 H 142.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#337E2E
RGBrgb(51, 126, 46)
HSLhsl(116, 47%, 34%)
HSVhsv(116, 63%, 49%)
CMYKcmyk(59.5%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.74, -39.87, 35.86)
CIE-LCHlch(46.74, 53.63, 138.04°)
OKLaboklab(52.75% -0.1086 0.0839)
OKLCHoklch(52.75% 0.137 142.3)
XYZxyz(9.3188, 15.8219, 5.1471)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E2E #792E7E
analogous
#5B7E2E #337E2E #2E7E51
triadic
#337E2E #2E337E #7E2E33
tetradic
#337E2E #2E5B7E #792E7E #7E512E
square
#337E2E #2E5B7E #792E7E #7E512E
split-complementary
#337E2E #512E7E #7E2E5B
monochromatic
#0F240D #21511E #337E2E #45AB3E #67C561

Accessibility & contrast

On white

5.04
#337E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#337E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E2E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E2E#FFFFFF#000000##FFFFFF
##337E2E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#277A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e2e;
/* rgb */ color: rgb(51, 126, 46);
/* oklch */ color: oklch(52.8% 0.137 142.3);
Tailwind
colors: {
  custom: {
    50: '#73a46a',
    500: '#337e2e',
    950: '#000000',
  },
}
SCSS
$custom: #337e2e;
$custom-light: #73a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#337e2e",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 116.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52753,
    "c": 0.13723,
    "h": 142.3
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#337E2E
secondary
#A75CAC
accent
#52D6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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