#337F1C#337F1C

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

Color values

HEX#337F1C
RGBrgb(51, 127, 28)
HSLhsl(106, 64%, 30%)
HSVhsv(106, 78%, 50%)
CMYKcmyk(59.8%, 0%, 78%, 50.2%)
CIE-LABlab(46.93, -41.98, 43.74)
CIE-LCHlch(46.93, 60.62, 133.82°)
OKLaboklab(52.86% -0.1154 0.0982)
OKLCHoklch(52.86% 0.151 139.6)
XYZxyz(9.1638, 15.9656, 3.6971)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F1C #681C7F
analogous
#647F1C #337F1C #1C7F37
triadic
#337F1C #1C337F #7F1C33
tetradic
#337F1C #1C647F #681C7F #7F371C
square
#337F1C #1C647F #681C7F #7F371C
split-complementary
#337F1C #371C7F #7F1C64
monochromatic
#0B1B06 #1F4D11 #337F1C #47B127 #63D540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F1C#FFFFFF#000000##FFFFFF
##337F1C1.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)
#837306
Deuteranopia (green-blind)
#796D27
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f1c;
/* rgb */ color: rgb(51, 127, 28);
/* oklch */ color: oklch(52.9% 0.151 139.6);
Tailwind
colors: {
  custom: {
    50: '#74a560',
    500: '#337f1c',
    950: '#000000',
  },
}
SCSS
$custom: #337f1c;
$custom-light: #74a560;
$custom-dark: #000000;
JSON
{
  "hex": "#337f1c",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 106.061,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.15149,
    "h": 139.6
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#337F1C
secondary
#9944B3
accent
#41E7C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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