#337C2D#337C2D

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

Color values

HEX#337C2D
RGBrgb(51, 124, 45)
HSLhsl(115, 47%, 33%)
HSVhsv(115, 64%, 49%)
CMYKcmyk(58.9%, 0%, 63.7%, 51.4%)
CIE-LABlab(46.05, -39.18, 35.56)
CIE-LCHlch(46.05, 52.91, 137.78°)
OKLaboklab(52.18% -0.1068 0.0831)
OKLCHoklch(52.18% 0.135 142.1)
XYZxyz(9.0461, 15.3078, 4.9601)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C2D #762D7C
analogous
#5A7C2D #337C2D #2D7C4E
triadic
#337C2D #2D337C #7C2D33
tetradic
#337C2D #2D5A7C #762D7C #7C4E2D
square
#337C2D #2D5A7C #762D7C #7C4E2D
split-complementary
#337C2D #4E2D7C #7C2D5A
monochromatic
#0E220C #214F1D #337C2D #45A93D #66C55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337C2D#FFFFFF#000000##FFFFFF
##337C2D1.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)
#7F7124
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#28786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c2d;
/* rgb */ color: rgb(51, 124, 45);
/* oklch */ color: oklch(52.2% 0.135 142.1);
Tailwind
colors: {
  custom: {
    50: '#73a369',
    500: '#337c2d',
    950: '#000000',
  },
}
SCSS
$custom: #337c2d;
$custom-light: #73a369;
$custom-dark: #000000;
JSON
{
  "hex": "#337c2d",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 115.443,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.13535,
    "h": 142.1
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#337C2D
secondary
#A55AAB
accent
#51D6CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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