#337E1D#337E1D

#337E1D is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.150 H 139.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337E1D
RGBrgb(51, 126, 29)
HSLhsl(106, 63%, 30%)
HSVhsv(106, 77%, 49%)
CMYKcmyk(59.5%, 0%, 77%, 50.6%)
CIE-LABlab(46.60, -41.51, 43.04)
CIE-LCHlch(46.60, 59.80, 133.97°)
OKLaboklab(52.59% -0.1141 0.0968)
OKLCHoklch(52.59% 0.15 139.7)
XYZxyz(9.0475, 15.7134, 3.7184)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E1D #681D7E
analogous
#637E1D #337E1D #1D7E37
triadic
#337E1D #1D337E #7E1D33
tetradic
#337E1D #1D637E #681D7E #7E371D
square
#337E1D #1D637E #681D7E #7E371D
split-complementary
#337E1D #371D7E #7E1D63
monochromatic
#0B1B06 #1F4C12 #337E1D #47B028 #63D342

Accessibility & contrast

On white

5.07
#337E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E1D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E1D#FFFFFF#000000##FFFFFF
##337E1D1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827209
Deuteranopia (green-blind)
#786C27
Tritanopia (blue-blind)
#2A7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e1d;
/* rgb */ color: rgb(51, 126, 29);
/* oklch */ color: oklch(52.6% 0.150 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a460',
    500: '#337e1d',
    950: '#000000',
  },
}
SCSS
$custom: #337e1d;
$custom-light: #74a460;
$custom-dark: #000000;
JSON
{
  "hex": "#337e1d",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 106.392,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.14965,
    "h": 139.7
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#337E1D
secondary
#9945B1
accent
#42E6C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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