#337B18#337B18

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

Color values

HEX#337B18
RGBrgb(51, 123, 24)
HSLhsl(104, 67%, 29%)
HSVhsv(104, 80%, 48%)
CMYKcmyk(58.5%, 0%, 80.5%, 51.8%)
CIE-LABlab(45.54, -40.70, 43.80)
CIE-LCHlch(45.54, 59.79, 132.90°)
OKLaboklab(51.71% -0.1122 0.0977)
OKLCHoklch(51.71% 0.149 139)
XYZxyz(8.6127, 14.9349, 3.2928)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B18 #60187B
analogous
#657B18 #337B18 #187B2F
triadic
#337B18 #18337B #7B1833
tetradic
#337B18 #18657B #60187B #7B2F18
square
#337B18 #18657B #60187B #7B2F18
split-complementary
#337B18 #2F187B #7B1865
monochromatic
#0B1A05 #1E480E #337B18 #48AE22 #62D836

Accessibility & contrast

On white

5.27
#337B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B18#FFFFFF#000000##FFFFFF
##337B181.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#2C7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b18;
/* rgb */ color: rgb(51, 123, 24);
/* oklch */ color: oklch(51.7% 0.149 139.0);
Tailwind
colors: {
  custom: {
    50: '#74a25d',
    500: '#337b18',
    950: '#000000',
  },
}
SCSS
$custom: #337b18;
$custom-light: #74a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#337b18",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 103.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.14876,
    "h": 139
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#337B18
secondary
#913FB0
accent
#3EEABB
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B18

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

Preview Lab → · Contrast checker → · Palette generator →

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