#337E2F#337E2F

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

Color values

HEX#337E2F
RGBrgb(51, 126, 47)
HSLhsl(117, 46%, 34%)
HSVhsv(117, 63%, 49%)
CMYKcmyk(59.5%, 0%, 62.7%, 50.6%)
CIE-LABlab(46.75, -39.76, 35.39)
CIE-LCHlch(46.75, 53.22, 138.33°)
OKLaboklab(52.76% -0.1082 0.083)
OKLCHoklch(52.76% 0.136 142.5)
XYZxyz(9.3387, 15.8299, 5.2521)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E2F #7A2F7E
analogous
#5B7E2F #337E2F #2F7E53
triadic
#337E2F #2F337E #7E2F33
tetradic
#337E2F #2F5B7E #7A2F7E #7E532F
square
#337E2F #2F5B7E #7A2F7E #7E532F
split-complementary
#337E2F #532F7E #7E2F5B
monochromatic
#0F250E #21511E #337E2F #45AB40 #68C563

Accessibility & contrast

On white

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

On black

4.17
#337E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337E2F#FFFFFF#000000##FFFFFF
##337E2F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337e2f;
/* rgb */ color: rgb(51, 126, 47);
/* oklch */ color: oklch(52.8% 0.136 142.5);
Tailwind
colors: {
  custom: {
    50: '#73a46b',
    500: '#337e2f',
    950: '#000000',
  },
}
SCSS
$custom: #337e2f;
$custom-light: #73a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#337e2f",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 116.962,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.13638,
    "h": 142.5
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#337E2F
secondary
#A85DAC
accent
#52D5CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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