#337C2F#337C2F

#337C2F is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.134 H 142.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#337C2F
RGBrgb(51, 124, 47)
HSLhsl(117, 45%, 34%)
HSVhsv(117, 62%, 49%)
CMYKcmyk(58.9%, 0%, 62.1%, 51.4%)
CIE-LABlab(46.07, -38.95, 34.61)
CIE-LCHlch(46.07, 52.10, 138.37°)
OKLaboklab(52.21% -0.106 0.0813)
OKLCHoklch(52.21% 0.134 142.5)
XYZxyz(9.0855, 15.3236, 5.1677)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C2F #782F7C
analogous
#597C2F #337C2F #2F7C51
triadic
#337C2F #2F337C #7C2F33
tetradic
#337C2F #2F597C #782F7C #7C512F
square
#337C2F #2F597C #782F7C #7C512F
split-complementary
#337C2F #512F7C #7C2F59
monochromatic
#0E230D #21501E #337C2F #45A840 #67C362

Accessibility & contrast

On white

5.17
#337C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#337C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C2F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C2F#FFFFFF#000000##FFFFFF
##337C2F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#28786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c2f;
/* rgb */ color: rgb(51, 124, 47);
/* oklch */ color: oklch(52.2% 0.134 142.5);
Tailwind
colors: {
  custom: {
    50: '#73a36a',
    500: '#337c2f',
    950: '#000000',
  },
}
SCSS
$custom: #337c2f;
$custom-light: #73a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#337c2f",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 116.883,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.13363,
    "h": 142.5
  },
  "luminance": 0.15324
}

Semantic roles & 50–950 ramp

primary
#337C2F
secondary
#A65CAA
accent
#53D5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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