#337A19#337A19

#337A19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.147 H 139.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#337A19
RGBrgb(51, 122, 25)
HSLhsl(104, 66%, 29%)
HSVhsv(104, 80%, 48%)
CMYKcmyk(58.2%, 0%, 79.5%, 52.2%)
CIE-LABlab(45.21, -40.24, 43.13)
CIE-LCHlch(45.21, 58.99, 133.01°)
OKLaboklab(51.44% -0.1109 0.0964)
OKLCHoklch(51.44% 0.147 139)
XYZxyz(8.4999, 14.6923, 3.3075)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A19 #60197A
analogous
#647A19 #337A19 #197A30
triadic
#337A19 #19337A #7A1933
tetradic
#337A19 #19647A #60197A #7A3019
square
#337A19 #19647A #60197A #7A3019
split-complementary
#337A19 #30197A #7A1964
monochromatic
#0B1905 #1E470F #337A19 #48AD23 #62D637

Accessibility & contrast

On white

5.33
#337A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A19
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A19#FFFFFF#000000##FFFFFF
##337A191.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a19;
/* rgb */ color: rgb(51, 122, 25);
/* oklch */ color: oklch(51.4% 0.147 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a15e',
    500: '#337a19',
    950: '#000000',
  },
}
SCSS
$custom: #337a19;
$custom-light: #73a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#337a19",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 103.918,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.14698,
    "h": 139
  },
  "luminance": 0.14693
}

Semantic roles & 50–950 ramp

primary
#337A19
secondary
#9140AF
accent
#3FE9BB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A19

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

Preview Lab → · Contrast checker → · Palette generator →

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