#337F2E#337F2E

#337F2E is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.139 H 142.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337F2E
RGBrgb(51, 127, 46)
HSLhsl(116, 47%, 34%)
HSVhsv(116, 64%, 50%)
CMYKcmyk(59.8%, 0%, 63.8%, 50.2%)
CIE-LABlab(47.08, -40.28, 36.24)
CIE-LCHlch(47.08, 54.18, 138.02°)
OKLaboklab(53.03% -0.1097 0.0847)
OKLCHoklch(53.03% 0.139 142.3)
XYZxyz(9.4473, 16.0790, 5.1899)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2E #7A2E7F
analogous
#5C7F2E #337F2E #2E7F52
triadic
#337F2E #2E337F #7F2E33
tetradic
#337F2E #2E5C7F #7A2E7F #7F522E
square
#337F2E #2E5C7F #7A2E7F #7F522E
split-complementary
#337F2E #522E7F #7F2E5C
monochromatic
#0F250D #21521E #337F2E #45AC3E #68C661

Accessibility & contrast

On white

4.98
#337F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#337F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F2E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F2E#FFFFFF#000000##FFFFFF
##337F2E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#277B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2e;
/* rgb */ color: rgb(51, 127, 46);
/* oklch */ color: oklch(53.0% 0.139 142.3);
Tailwind
colors: {
  custom: {
    50: '#73a56a',
    500: '#337f2e',
    950: '#000000',
  },
}
SCSS
$custom: #337f2e;
$custom-light: #73a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2e",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 116.296,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.13859,
    "h": 142.3
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#337F2E
secondary
#A85CAD
accent
#51D6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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