#337D1F#337D1F

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

Color values

HEX#337D1F
RGBrgb(51, 125, 31)
HSLhsl(107, 60%, 31%)
HSVhsv(107, 75%, 49%)
CMYKcmyk(59.2%, 0%, 75.2%, 51%)
CIE-LABlab(46.27, -40.97, 41.94)
CIE-LCHlch(46.27, 58.63, 134.33°)
OKLaboklab(52.32% -0.1125 0.0949)
OKLCHoklch(52.32% 0.147 139.9)
XYZxyz(8.9458, 15.4692, 3.8105)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D1F #691F7D
analogous
#627D1F #337D1F #1F7D3A
triadic
#337D1F #1F337D #7D1F33
tetradic
#337D1F #1F627D #691F7D #7D3A1F
square
#337D1F #1F627D #691F7D #7D3A1F
split-complementary
#337D1F #3A1F7D #7D1F62
monochromatic
#0B1B07 #1F4C13 #337D1F #47AE2B #63D145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D1F#FFFFFF#000000##FFFFFF
##337D1F1.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)
#81710E
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d1f;
/* rgb */ color: rgb(51, 125, 31);
/* oklch */ color: oklch(52.3% 0.147 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a361',
    500: '#337d1f',
    950: '#000000',
  },
}
SCSS
$custom: #337d1f;
$custom-light: #74a361;
$custom-dark: #000000;
JSON
{
  "hex": "#337d1f",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 107.234,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.14714,
    "h": 139.9
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#337D1F
secondary
#9A48B0
accent
#44E3C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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