#337B2B#337B2B

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

Color values

HEX#337B2B
RGBrgb(51, 123, 43)
HSLhsl(114, 48%, 33%)
HSVhsv(114, 65%, 48%)
CMYKcmyk(58.5%, 0%, 65%, 51.8%)
CIE-LABlab(45.69, -39.01, 36.11)
CIE-LCHlch(45.69, 53.16, 137.21°)
OKLaboklab(51.88% -0.1064 0.0841)
OKLCHoklch(51.88% 0.136 141.7)
XYZxyz(8.8838, 15.0434, 4.7205)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2B #732B7B
analogous
#5B7B2B #337B2B #2B7B4B
triadic
#337B2B #2B337B #7B2B33
tetradic
#337B2B #2B5B7B #732B7B #7B4B2B
square
#337B2B #2B5B7B #732B7B #7B4B2B
split-complementary
#337B2B #4B2B7B #7B2B5B
monochromatic
#0D200B #204E1B #337B2B #46A83B #65C65B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B2B#FFFFFF#000000##FFFFFF
##337B2B1.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)
#7E7022
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#29776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2b;
/* rgb */ color: rgb(51, 123, 43);
/* oklch */ color: oklch(51.9% 0.136 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a268',
    500: '#337b2b',
    950: '#000000',
  },
}
SCSS
$custom: #337b2b;
$custom-light: #73a268;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2b",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 114,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.13566,
    "h": 141.7
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#337B2B
secondary
#A356AB
accent
#50D8CA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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