#337C2E#337C2E

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

Color values

HEX#337C2E
RGBrgb(51, 124, 46)
HSLhsl(116, 46%, 33%)
HSVhsv(116, 63%, 49%)
CMYKcmyk(58.9%, 0%, 62.9%, 51.4%)
CIE-LABlab(46.06, -39.07, 35.09)
CIE-LCHlch(46.06, 52.51, 138.07°)
OKLaboklab(52.2% -0.1064 0.0822)
OKLCHoklch(52.2% 0.134 142.3)
XYZxyz(9.0656, 15.3156, 5.0627)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C2E #772E7C
analogous
#5A7C2E #337C2E #2E7C50
triadic
#337C2E #2E337C #7C2E33
tetradic
#337C2E #2E5A7C #772E7C #7C502E
square
#337C2E #2E5A7C #772E7C #7C502E
split-complementary
#337C2E #502E7C #7C2E5A
monochromatic
#0E230D #214F1D #337C2E #45A93F #67C460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337C2E#FFFFFF#000000##FFFFFF
##337C2E1.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)
#7F7125
Deuteranopia (green-blind)
#756B34
Tritanopia (blue-blind)
#28786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c2e;
/* rgb */ color: rgb(51, 124, 46);
/* oklch */ color: oklch(52.2% 0.134 142.3);
Tailwind
colors: {
  custom: {
    50: '#73a36a',
    500: '#337c2e',
    950: '#000000',
  },
}
SCSS
$custom: #337c2e;
$custom-light: #73a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#337c2e",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 116.154,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.13449,
    "h": 142.3
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#337C2E
secondary
#A65BAB
accent
#52D6CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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