#337E2D#337E2D

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

Color values

HEX#337E2D
RGBrgb(51, 126, 45)
HSLhsl(116, 47%, 34%)
HSVhsv(116, 64%, 49%)
CMYKcmyk(59.5%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.73, -39.99, 36.32)
CIE-LCHlch(46.73, 54.02, 137.75°)
OKLaboklab(52.74% -0.109 0.0848)
OKLCHoklch(52.74% 0.138 142.1)
XYZxyz(9.2993, 15.8142, 5.0445)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E2D #782D7E
analogous
#5B7E2D #337E2D #2D7E4F
triadic
#337E2D #2D337E #7E2D33
tetradic
#337E2D #2D5B7E #782D7E #7E4F2D
square
#337E2D #2D5B7E #782D7E #7E4F2D
split-complementary
#337E2D #4F2D7E #7E2D5B
monochromatic
#0E240D #21511D #337E2D #45AB3D #67C65F

Accessibility & contrast

On white

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

On black

4.16
#337E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337E2D#FFFFFF#000000##FFFFFF
##337E2D1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#287A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e2d;
/* rgb */ color: rgb(51, 126, 45);
/* oklch */ color: oklch(52.7% 0.138 142.1);
Tailwind
colors: {
  custom: {
    50: '#73a469',
    500: '#337e2d',
    950: '#000000',
  },
}
SCSS
$custom: #337e2d;
$custom-light: #73a469;
$custom-dark: #000000;
JSON
{
  "hex": "#337e2d",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 115.556,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.13808,
    "h": 142.1
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#337E2D
secondary
#A65AAC
accent
#51D7CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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