#337F1B#337F1B

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

Color values

HEX#337F1B
RGBrgb(51, 127, 27)
HSLhsl(106, 65%, 30%)
HSVhsv(106, 79%, 50%)
CMYKcmyk(59.8%, 0%, 78.7%, 50.2%)
CIE-LABlab(46.92, -42.05, 44.09)
CIE-LCHlch(46.92, 60.92, 133.64°)
OKLaboklab(52.86% -0.1156 0.0987)
OKLCHoklch(52.86% 0.152 139.5)
XYZxyz(9.1521, 15.9609, 3.6352)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F1B #671B7F
analogous
#657F1B #337F1B #1B7F35
triadic
#337F1B #1B337F #7F1B33
tetradic
#337F1B #1B657F #671B7F #7F351B
square
#337F1B #1B657F #671B7F #7F351B
split-complementary
#337F1B #351B7F #7F1B65
monochromatic
#0A1A06 #1F4D10 #337F1B #47B126 #63D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F1B#FFFFFF#000000##FFFFFF
##337F1B1.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)
#837304
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f1b;
/* rgb */ color: rgb(51, 127, 27);
/* oklch */ color: oklch(52.9% 0.152 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a55f',
    500: '#337f1b',
    950: '#000000',
  },
}
SCSS
$custom: #337f1b;
$custom-light: #74a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#337f1b",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 105.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.15207,
    "h": 139.5
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#337F1B
secondary
#9843B3
accent
#40E8C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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