#337D19#337D19

#337D19 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.151 H 139.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337D19
RGBrgb(51, 125, 25)
HSLhsl(104, 67%, 29%)
HSVhsv(104, 80%, 49%)
CMYKcmyk(59.2%, 0%, 80%, 51%)
CIE-LABlab(46.23, -41.41, 44.12)
CIE-LCHlch(46.23, 60.51, 133.19°)
OKLaboklab(52.28% -0.1141 0.0985)
OKLCHoklch(52.28% 0.151 139.2)
XYZxyz(8.8740, 15.4405, 3.4322)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D19 #63197D
analogous
#657D19 #337D19 #197D31
triadic
#337D19 #19337D #7D1933
tetradic
#337D19 #19657D #63197D #7D3119
square
#337D19 #19657D #63197D #7D3119
split-complementary
#337D19 #31197D #7D1965
monochromatic
#0A1A05 #1E4A0F #337D19 #48B023 #62D739

Accessibility & contrast

On white

5.14
#337D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D19
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D19#FFFFFF#000000##FFFFFF
##337D191.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337d19;
/* rgb */ color: rgb(51, 125, 25);
/* oklch */ color: oklch(52.3% 0.151 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a35e',
    500: '#337d19',
    950: '#000000',
  },
}
SCSS
$custom: #337d19;
$custom-light: #74a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#337d19",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 104.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.1507,
    "h": 139.2
  },
  "luminance": 0.15441
}

Semantic roles & 50–950 ramp

primary
#337D19
secondary
#9440B1
accent
#3EEABD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D19

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

Preview Lab → · Contrast checker → · Palette generator →

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