#337919#337919

#337919 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.146 H 138.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337919
RGBrgb(51, 121, 25)
HSLhsl(104, 66%, 29%)
HSVhsv(104, 79%, 47%)
CMYKcmyk(57.9%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.87, -39.85, 42.80)
CIE-LCHlch(44.87, 58.48, 132.95°)
OKLaboklab(51.15% -0.1098 0.0957)
OKLCHoklch(51.15% 0.146 138.9)
XYZxyz(8.3777, 14.4480, 3.2668)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337919 #5F1979
analogous
#637919 #337919 #19792F
triadic
#337919 #193379 #791933
tetradic
#337919 #196379 #5F1979 #792F19
square
#337919 #196379 #5F1979 #792F19
split-complementary
#337919 #2F1979 #791963
monochromatic
#0B1905 #1E460F #337919 #48AC23 #62D637

Accessibility & contrast

On white

5.40
#337919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337919
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337919#FFFFFF#000000##FFFFFF
##3379191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337919;
/* rgb */ color: rgb(51, 121, 25);
/* oklch */ color: oklch(51.2% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#73a05e',
    500: '#337919',
    950: '#000000',
  },
}
SCSS
$custom: #337919;
$custom-light: #73a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#337919",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 103.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51155,
    "c": 0.14572,
    "h": 138.9
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#337919
secondary
#9040AE
accent
#3FE9BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #337919

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

Preview Lab → · Contrast checker → · Palette generator →

#337919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva