#337A1A#337A1A

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

Color values

HEX#337A1A
RGBrgb(51, 122, 26)
HSLhsl(104, 65%, 29%)
HSVhsv(104, 79%, 48%)
CMYKcmyk(58.2%, 0%, 78.7%, 52.2%)
CIE-LABlab(45.22, -40.17, 42.78)
CIE-LCHlch(45.22, 58.68, 133.20°)
OKLaboklab(51.44% -0.1107 0.0959)
OKLCHoklch(51.44% 0.146 139.1)
XYZxyz(8.5109, 14.6967, 3.3653)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A1A #611A7A
analogous
#637A1A #337A1A #1A7A31
triadic
#337A1A #1A337A #7A1A33
tetradic
#337A1A #1A637A #611A7A #7A311A
square
#337A1A #1A637A #611A7A #7A311A
split-complementary
#337A1A #311A7A #7A1A63
monochromatic
#0B1905 #1E480F #337A1A #48AC25 #62D539

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A1A#FFFFFF#000000##FFFFFF
##337A1A1.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)
#7E6F05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a1a;
/* rgb */ color: rgb(51, 122, 26);
/* oklch */ color: oklch(51.4% 0.146 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a15e',
    500: '#337a1a',
    950: '#000000',
  },
}
SCSS
$custom: #337a1a;
$custom-light: #73a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#337a1a",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 104.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.1464,
    "h": 139.1
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#337A1A
secondary
#9241AE
accent
#40E8BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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