#337B1D#337B1D

#337B1D is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.146 H 139.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#337B1D
RGBrgb(51, 123, 29)
HSLhsl(106, 62%, 30%)
HSVhsv(106, 76%, 48%)
CMYKcmyk(58.5%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.58, -40.34, 42.02)
CIE-LCHlch(45.58, 58.25, 133.83°)
OKLaboklab(51.75% -0.1109 0.0947)
OKLCHoklch(51.75% 0.146 139.5)
XYZxyz(8.6696, 14.9577, 3.5924)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B1D #651D7B
analogous
#627B1D #337B1D #1D7B36
triadic
#337B1D #1D337B #7B1D33
tetradic
#337B1D #1D627B #651D7B #7B361D
square
#337B1D #1D627B #651D7B #7B361D
split-complementary
#337B1D #361D7B #7B1D62
monochromatic
#0A1906 #1E4911 #337B1D #48AD29 #62D240

Accessibility & contrast

On white

5.26
#337B1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337B1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B1D#FFFFFF#000000##FFFFFF
##337B1D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700B
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b1d;
/* rgb */ color: rgb(51, 123, 29);
/* oklch */ color: oklch(51.7% 0.146 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a260',
    500: '#337b1d',
    950: '#000000',
  },
}
SCSS
$custom: #337b1d;
$custom-light: #73a260;
$custom-dark: #000000;
JSON
{
  "hex": "#337b1d",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 105.957,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.14587,
    "h": 139.5
  },
  "luminance": 0.14958
}

Semantic roles & 50–950 ramp

primary
#337B1D
secondary
#9645AF
accent
#43E5BF
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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