#337B2A#337B2A

#337B2A is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.9% C 0.136 H 141.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#337B2A
RGBrgb(51, 123, 42)
HSLhsl(113, 49%, 32%)
HSVhsv(113, 66%, 48%)
CMYKcmyk(58.5%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.68, -39.12, 36.57)
CIE-LCHlch(45.68, 53.55, 136.93°)
OKLaboklab(51.87% -0.1068 0.085)
OKLCHoklch(51.87% 0.136 141.5)
XYZxyz(8.8657, 15.0361, 4.6251)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2A #722A7B
analogous
#5C7B2A #337B2A #2A7B49
triadic
#337B2A #2A337B #7B2A33
tetradic
#337B2A #2A5C7B #722A7B #7B492A
square
#337B2A #2A5C7B #722A7B #7B492A
split-complementary
#337B2A #492A7B #7B2A5C
monochromatic
#0D200B #204D1A #337B2A #46A93A #65C659

Accessibility & contrast

On white

5.24
#337B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#337B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B2A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B2A#FFFFFF#000000##FFFFFF
##337B2A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#29776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2a;
/* rgb */ color: rgb(51, 123, 42);
/* oklch */ color: oklch(51.9% 0.136 141.5);
Tailwind
colors: {
  custom: {
    50: '#73a267',
    500: '#337b2a',
    950: '#000000',
  },
}
SCSS
$custom: #337b2a;
$custom-light: #73a267;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2a",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 113.333,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.13647,
    "h": 141.5
  },
  "luminance": 0.15037
}

Semantic roles & 50–950 ramp

primary
#337B2A
secondary
#A255AC
accent
#4FD9C9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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