#337C1E#337C1E

#337C1E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.147 H 139.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337C1E
RGBrgb(51, 124, 30)
HSLhsl(107, 61%, 30%)
HSVhsv(107, 76%, 49%)
CMYKcmyk(58.9%, 0%, 75.8%, 51.4%)
CIE-LABlab(45.92, -40.66, 41.98)
CIE-LCHlch(45.92, 58.44, 134.08°)
OKLaboklab(52.04% -0.1117 0.0948)
OKLCHoklch(52.04% 0.147 139.7)
XYZxyz(8.8069, 15.2121, 3.7002)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C1E #671E7C
analogous
#627C1E #337C1E #1E7C38
triadic
#337C1E #1E337C #7C1E33
tetradic
#337C1E #1E627C #671E7C #7C381E
square
#337C1E #1E627C #671E7C #7C381E
split-complementary
#337C1E #381E7C #7C1E62
monochromatic
#0A1906 #1F4B12 #337C1E #47AD2A #63D143

Accessibility & contrast

On white

5.19
#337C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C1E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C1E#FFFFFF#000000##FFFFFF
##337C1E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80700C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#2B786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c1e;
/* rgb */ color: rgb(51, 124, 30);
/* oklch */ color: oklch(52.0% 0.147 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a361',
    500: '#337c1e',
    950: '#000000',
  },
}
SCSS
$custom: #337c1e;
$custom-light: #74a361;
$custom-dark: #000000;
JSON
{
  "hex": "#337c1e",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 106.596,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.14651,
    "h": 139.7
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#337C1E
secondary
#9846AF
accent
#44E4C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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