#337B19#337B19

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

Color values

HEX#337B19
RGBrgb(51, 123, 25)
HSLhsl(104, 66%, 29%)
HSVhsv(104, 80%, 48%)
CMYKcmyk(58.5%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.55, -40.63, 43.46)
CIE-LCHlch(45.55, 59.50, 133.07°)
OKLaboklab(51.72% -0.112 0.0971)
OKLCHoklch(51.72% 0.148 139.1)
XYZxyz(8.6233, 14.9392, 3.3486)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B19 #61197B
analogous
#647B19 #337B19 #197B30
triadic
#337B19 #19337B #7B1933
tetradic
#337B19 #19647B #61197B #7B3019
square
#337B19 #19647B #61197B #7B3019
split-complementary
#337B19 #30197B #7B1964
monochromatic
#0B1905 #1E480F #337B19 #48AE23 #62D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B19#FFFFFF#000000##FFFFFF
##337B191.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)
#7F7002
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b19;
/* rgb */ color: rgb(51, 123, 25);
/* oklch */ color: oklch(51.7% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a25e',
    500: '#337b19',
    950: '#000000',
  },
}
SCSS
$custom: #337b19;
$custom-light: #74a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#337b19",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 104.082,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.14822,
    "h": 139.1
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#337B19
secondary
#9240AF
accent
#3FE9BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B19

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

Preview Lab → · Contrast checker → · Palette generator →

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