#337A18#337A18

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

Color values

HEX#337A18
RGBrgb(51, 122, 24)
HSLhsl(103, 67%, 29%)
HSVhsv(103, 80%, 48%)
CMYKcmyk(58.2%, 0%, 80.3%, 52.2%)
CIE-LABlab(45.20, -40.31, 43.47)
CIE-LCHlch(45.20, 59.28, 132.84°)
OKLaboklab(51.43% -0.1111 0.097)
OKLCHoklch(51.43% 0.148 138.9)
XYZxyz(8.4893, 14.6881, 3.2517)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A18 #5F187A
analogous
#647A18 #337A18 #187A2E
triadic
#337A18 #18337A #7A1833
tetradic
#337A18 #18647A #5F187A #7A2E18
square
#337A18 #18647A #5F187A #7A2E18
split-complementary
#337A18 #2E187A #7A1864
monochromatic
#0B1A05 #1E470E #337A18 #48AD22 #62D735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A18#FFFFFF#000000##FFFFFF
##337A181.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)
#7E6F00
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a18;
/* rgb */ color: rgb(51, 122, 24);
/* oklch */ color: oklch(51.4% 0.148 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a15d',
    500: '#337a18',
    950: '#000000',
  },
}
SCSS
$custom: #337a18;
$custom-light: #74a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#337a18",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 103.469,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.14752,
    "h": 138.9
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#337A18
secondary
#903FAF
accent
#3EEABB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A18

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

Preview Lab → · Contrast checker → · Palette generator →

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