#337B13#337B13

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

Color values

HEX#337B13
RGBrgb(51, 123, 19)
HSLhsl(102, 73%, 28%)
HSVhsv(102, 85%, 48%)
CMYKcmyk(58.5%, 0%, 84.6%, 51.8%)
CIE-LABlab(45.52, -41.00, 45.37)
CIE-LCHlch(45.52, 61.15, 132.10°)
OKLaboklab(51.68% -0.1133 0.1002)
OKLCHoklch(51.68% 0.151 138.5)
XYZxyz(8.5654, 14.9160, 3.0437)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B13 #5B137B
analogous
#677B13 #337B13 #137B27
triadic
#337B13 #13337B #7B1333
tetradic
#337B13 #13677B #5B137B #7B2713
square
#337B13 #13677B #5B137B #7B2713
split-complementary
#337B13 #27137B #7B1367
monochromatic
#0B1B04 #1D460B #337B13 #49B01B #62DE2A

Accessibility & contrast

On white

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

On black

3.98
#337B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337B13#FFFFFF#000000##FFFFFF
##337B131.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337b13;
/* rgb */ color: rgb(51, 123, 19);
/* oklch */ color: oklch(51.7% 0.151 138.5);
Tailwind
colors: {
  custom: {
    50: '#74a25b',
    500: '#337b13',
    950: '#000000',
  },
}
SCSS
$custom: #337b13;
$custom-light: #74a25b;
$custom-dark: #000000;
JSON
{
  "hex": "#337b13",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 101.538,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.15124,
    "h": 138.5
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#337B13
secondary
#8C39B1
accent
#38F0B7
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337B13

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

Preview Lab → · Contrast checker → · Palette generator →

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