#337F1D#337F1D

#337F1D is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.151 H 139.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#337F1D
RGBrgb(51, 127, 29)
HSLhsl(107, 63%, 31%)
HSVhsv(107, 77%, 50%)
CMYKcmyk(59.8%, 0%, 77.2%, 50.2%)
CIE-LABlab(46.94, -41.90, 43.37)
CIE-LCHlch(46.94, 60.31, 134.01°)
OKLaboklab(52.87% -0.1151 0.0975)
OKLCHoklch(52.87% 0.151 139.7)
XYZxyz(9.1760, 15.9705, 3.7612)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F1D #691D7F
analogous
#647F1D #337F1D #1D7F38
triadic
#337F1D #1D337F #7F1D33
tetradic
#337F1D #1D647F #691D7F #7F381D
square
#337F1D #1D647F #691D7F #7F381D
split-complementary
#337F1D #381D7F #7F1D64
monochromatic
#0B1B06 #1F4D12 #337F1D #47B128 #63D442

Accessibility & contrast

On white

5.01
#337F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F1D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F1D#FFFFFF#000000##FFFFFF
##337F1D1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837309
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f1d;
/* rgb */ color: rgb(51, 127, 29);
/* oklch */ color: oklch(52.9% 0.151 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a560',
    500: '#337f1d',
    950: '#000000',
  },
}
SCSS
$custom: #337f1d;
$custom-light: #74a560;
$custom-dark: #000000;
JSON
{
  "hex": "#337f1d",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 106.531,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.1509,
    "h": 139.7
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#337F1D
secondary
#9A45B2
accent
#42E6C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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