#337A1D#337A1D

#337A1D is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.145 H 139.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#337A1D
RGBrgb(51, 122, 29)
HSLhsl(106, 62%, 30%)
HSVhsv(106, 76%, 48%)
CMYKcmyk(58.2%, 0%, 76.2%, 52.2%)
CIE-LABlab(45.24, -39.95, 41.68)
CIE-LCHlch(45.24, 57.73, 133.78°)
OKLaboklab(51.47% -0.1099 0.094)
OKLCHoklch(51.47% 0.145 139.5)
XYZxyz(8.5462, 14.7109, 3.5513)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A1D #641D7A
analogous
#627A1D #337A1D #1D7A35
triadic
#337A1D #1D337A #7A1D33
tetradic
#337A1D #1D627A #641D7A #7A351D
square
#337A1D #1D627A #641D7A #7A351D
split-complementary
#337A1D #351D7A #7A1D62
monochromatic
#0A1906 #1E4911 #337A1D #48AB29 #62D240

Accessibility & contrast

On white

5.33
#337A1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337A1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A1D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A1D#FFFFFF#000000##FFFFFF
##337A1D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a1d;
/* rgb */ color: rgb(51, 122, 29);
/* oklch */ color: oklch(51.5% 0.145 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a160',
    500: '#337a1d',
    950: '#000000',
  },
}
SCSS
$custom: #337a1d;
$custom-light: #73a160;
$custom-dark: #000000;
JSON
{
  "hex": "#337a1d",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 105.806,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.14459,
    "h": 139.5
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#337A1D
secondary
#9545AE
accent
#43E5BE
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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