#337E1A#337E1A

#337E1A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.151 H 139.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337E1A
RGBrgb(51, 126, 26)
HSLhsl(105, 66%, 30%)
HSVhsv(105, 79%, 49%)
CMYKcmyk(59.5%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.58, -41.73, 44.11)
CIE-LCHlch(46.58, 60.72, 133.42°)
OKLaboklab(52.57% -0.1149 0.0986)
OKLCHoklch(52.57% 0.151 139.4)
XYZxyz(9.0122, 15.6993, 3.5324)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E1A #651A7E
analogous
#657E1A #337E1A #1A7E33
triadic
#337E1A #1A337E #7E1A33
tetradic
#337E1A #1A657E #651A7E #7E331A
square
#337E1A #1A657E #651A7E #7E331A
split-complementary
#337E1A #331A7E #7E1A65
monochromatic
#0A1905 #1E4B10 #337E1A #48B124 #62D73C

Accessibility & contrast

On white

5.07
#337E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E1A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E1A#FFFFFF#000000##FFFFFF
##337E1A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#2B7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e1a;
/* rgb */ color: rgb(51, 126, 26);
/* oklch */ color: oklch(52.6% 0.151 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a45f',
    500: '#337e1a',
    950: '#000000',
  },
}
SCSS
$custom: #337e1a;
$custom-light: #74a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#337e1a",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 105,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.15139,
    "h": 139.4
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#337E1A
secondary
#9642B2
accent
#3FE9BE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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