#337219#337219

#337219 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.137 H 138.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337219
RGBrgb(51, 114, 25)
HSLhsl(102, 64%, 27%)
HSVhsv(102, 78%, 45%)
CMYKcmyk(55.3%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.47, -37.03, 40.45)
CIE-LCHlch(42.47, 54.84, 132.47°)
OKLaboklab(49.18% -0.1023 0.0908)
OKLCHoklch(49.18% 0.137 138.4)
XYZxyz(7.5577, 12.8080, 2.9935)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337219 #581972
analogous
#607219 #337219 #19722C
triadic
#337219 #193372 #721933
tetradic
#337219 #196072 #581972 #722C19
square
#337219 #196072 #581972 #722C19
split-complementary
#337219 #2C1972 #721960
monochromatic
#0B1906 #1D400E #337219 #49A424 #62D233

Accessibility & contrast

On white

5.90
#337219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337219
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337219#FFFFFF#000000##FFFFFF
##3372191.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766807
Deuteranopia (green-blind)
#6E6222
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337219;
/* rgb */ color: rgb(51, 114, 25);
/* oklch */ color: oklch(49.2% 0.137 138.4);
Tailwind
colors: {
  custom: {
    50: '#729b5d',
    500: '#337219',
    950: '#000000',
  },
}
SCSS
$custom: #337219;
$custom-light: #729b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#337219",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 102.472,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.13678,
    "h": 138.4
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#337219
secondary
#8940A7
accent
#41E7B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337219

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

Preview Lab → · Contrast checker → · Palette generator →

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