#337D1A#337D1A

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

Color values

HEX#337D1A
RGBrgb(51, 125, 26)
HSLhsl(105, 66%, 30%)
HSVhsv(105, 79%, 49%)
CMYKcmyk(59.2%, 0%, 79.2%, 51%)
CIE-LABlab(46.24, -41.34, 43.78)
CIE-LCHlch(46.24, 60.21, 133.36°)
OKLaboklab(52.29% -0.1138 0.0979)
OKLCHoklch(52.29% 0.15 139.3)
XYZxyz(8.8849, 15.4449, 3.4900)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D1A #641A7D
analogous
#657D1A #337D1A #1A7D32
triadic
#337D1A #1A337D #7D1A33
tetradic
#337D1A #1A657D #641A7D #7D321A
square
#337D1A #1A657D #641A7D #7D321A
split-complementary
#337D1A #321A7D #7D1A65
monochromatic
#0A1905 #1E4A0F #337D1A #48B025 #62D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D1A#FFFFFF#000000##FFFFFF
##337D1A1.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)
#817103
Deuteranopia (green-blind)
#786B25
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d1a;
/* rgb */ color: rgb(51, 125, 26);
/* oklch */ color: oklch(52.3% 0.150 139.3);
Tailwind
colors: {
  custom: {
    50: '#74a35f',
    500: '#337d1a',
    950: '#000000',
  },
}
SCSS
$custom: #337d1a;
$custom-light: #74a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#337d1a",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 104.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.15015,
    "h": 139.3
  },
  "luminance": 0.15446
}

Semantic roles & 50–950 ramp

primary
#337D1A
secondary
#9542B1
accent
#3FE9BE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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