#337A2E#337A2E

#337A2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.132 H 142.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#337A2E
RGBrgb(51, 122, 46)
HSLhsl(116, 45%, 33%)
HSVhsv(116, 62%, 48%)
CMYKcmyk(58.2%, 0%, 62.3%, 52.2%)
CIE-LABlab(45.39, -38.25, 34.31)
CIE-LCHlch(45.39, 51.38, 138.10°)
OKLaboklab(51.64% -0.1042 0.0806)
OKLCHoklch(51.64% 0.132 142.3)
XYZxyz(8.8175, 14.8194, 4.9800)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A2E #752E7A
analogous
#597A2E #337A2E #2E7A4F
triadic
#337A2E #2E337A #7A2E33
tetradic
#337A2E #2E597A #752E7A #7A4F2E
square
#337A2E #2E597A #752E7A #7A4F2E
split-complementary
#337A2E #4F2E7A #7A2E59
monochromatic
#0E210C #204E1D #337A2E #46A63F #66C360

Accessibility & contrast

On white

5.30
#337A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A2E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A2E#FFFFFF#000000##FFFFFF
##337A2E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F26
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#29766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a2e;
/* rgb */ color: rgb(51, 122, 46);
/* oklch */ color: oklch(51.6% 0.132 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a16a',
    500: '#337a2e',
    950: '#000000',
  },
}
SCSS
$custom: #337a2e;
$custom-light: #72a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#337a2e",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 116.053,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.13172,
    "h": 142.3
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#337A2E
secondary
#A45AAA
accent
#53D5CC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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