#337D1D#337D1D

#337D1D is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.148 H 139.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337D1D
RGBrgb(51, 125, 29)
HSLhsl(106, 62%, 30%)
HSVhsv(106, 77%, 49%)
CMYKcmyk(59.2%, 0%, 76.8%, 51%)
CIE-LABlab(46.26, -41.13, 42.70)
CIE-LCHlch(46.26, 59.28, 133.93°)
OKLaboklab(52.31% -0.113 0.0961)
OKLCHoklch(52.31% 0.148 139.6)
XYZxyz(8.9202, 15.4590, 3.6760)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D1D #671D7D
analogous
#637D1D #337D1D #1D7D37
triadic
#337D1D #1D337D #7D1D33
tetradic
#337D1D #1D637D #671D7D #7D371D
square
#337D1D #1D637D #671D7D #7D371D
split-complementary
#337D1D #371D7D #7D1D63
monochromatic
#0A1A06 #1F4B11 #337D1D #47AF29 #63D341

Accessibility & contrast

On white

5.13
#337D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D1D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D1D#FFFFFF#000000##FFFFFF
##337D1D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d1d;
/* rgb */ color: rgb(51, 125, 29);
/* oklch */ color: oklch(52.3% 0.148 139.6);
Tailwind
colors: {
  custom: {
    50: '#74a360',
    500: '#337d1d',
    950: '#000000',
  },
}
SCSS
$custom: #337d1d;
$custom-light: #74a360;
$custom-dark: #000000;
JSON
{
  "hex": "#337d1d",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 106.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.14839,
    "h": 139.6
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#337D1D
secondary
#9845B1
accent
#42E5C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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