#337B2D#337B2D

#337B2D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.134 H 142.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#337B2D
RGBrgb(51, 123, 45)
HSLhsl(115, 46%, 33%)
HSVhsv(115, 63%, 48%)
CMYKcmyk(58.5%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.71, -38.78, 35.17)
CIE-LCHlch(45.71, 52.35, 137.79°)
OKLaboklab(51.91% -0.1057 0.0823)
OKLCHoklch(51.91% 0.134 142.1)
XYZxyz(8.9214, 15.0584, 4.9185)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2D #752D7B
analogous
#5A7B2D #337B2D #2D7B4E
triadic
#337B2D #2D337B #7B2D33
tetradic
#337B2D #2D5A7B #752D7B #7B4E2D
square
#337B2D #2D5A7B #752D7B #7B4E2D
split-complementary
#337B2D #4E2D7B #7B2D5A
monochromatic
#0E210C #204E1D #337B2D #46A83D #66C45E

Accessibility & contrast

On white

5.23
#337B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337B2D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B2D#FFFFFF#000000##FFFFFF
##337B2D1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7024
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#28776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2d;
/* rgb */ color: rgb(51, 123, 45);
/* oklch */ color: oklch(51.9% 0.134 142.1);
Tailwind
colors: {
  custom: {
    50: '#73a269',
    500: '#337b2d',
    950: '#000000',
  },
}
SCSS
$custom: #337b2d;
$custom-light: #73a269;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2d",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 115.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.13397,
    "h": 142.1
  },
  "luminance": 0.15059
}

Semantic roles & 50–950 ramp

primary
#337B2D
secondary
#A459AB
accent
#52D6CC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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