#337A1E#337A1E

#337A1E is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.144 H 139.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#337A1E
RGBrgb(51, 122, 30)
HSLhsl(106, 61%, 30%)
HSVhsv(106, 75%, 48%)
CMYKcmyk(58.2%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.24, -39.87, 41.30)
CIE-LCHlch(45.24, 57.40, 133.99°)
OKLaboklab(51.47% -0.1096 0.0934)
OKLCHoklch(51.47% 0.144 139.6)
XYZxyz(8.5588, 14.7159, 3.6175)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A1E #651E7A
analogous
#617A1E #337A1E #1E7A37
triadic
#337A1E #1E337A #7A1E33
tetradic
#337A1E #1E617A #651E7A #7A371E
square
#337A1E #1E617A #651E7A #7A371E
split-complementary
#337A1E #371E7A #7A1E61
monochromatic
#0A1906 #1E4912 #337A1E #48AB2A #62D042

Accessibility & contrast

On white

5.33
#337A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A1E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A1E#FFFFFF#000000##FFFFFF
##337A1E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a1e;
/* rgb */ color: rgb(51, 122, 30);
/* oklch */ color: oklch(51.5% 0.144 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a160',
    500: '#337a1e',
    950: '#000000',
  },
}
SCSS
$custom: #337a1e;
$custom-light: #73a160;
$custom-dark: #000000;
JSON
{
  "hex": "#337a1e",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 106.304,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51473,
    "c": 0.14396,
    "h": 139.6
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#337A1E
secondary
#9646AE
accent
#44E4BF
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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