#337B2C#337B2C

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

Color values

HEX#337B2C
RGBrgb(51, 123, 44)
HSLhsl(115, 47%, 33%)
HSVhsv(115, 64%, 48%)
CMYKcmyk(58.5%, 0%, 64.2%, 51.8%)
CIE-LABlab(45.70, -38.89, 35.64)
CIE-LCHlch(45.70, 52.76, 137.50°)
OKLaboklab(51.89% -0.1061 0.0832)
OKLCHoklch(51.89% 0.135 141.9)
XYZxyz(8.9024, 15.0508, 4.8183)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2C #742C7B
analogous
#5A7B2C #337B2C #2C7B4D
triadic
#337B2C #2C337B #7B2C33
tetradic
#337B2C #2C5A7B #742C7B #7B4D2C
square
#337B2C #2C5A7B #742C7B #7B4D2C
split-complementary
#337B2C #4D2C7B #7B2C5A
monochromatic
#0E210C #204E1C #337B2C #46A83C #66C55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B2C#FFFFFF#000000##FFFFFF
##337B2C1.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)
#7E7023
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#29776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2c;
/* rgb */ color: rgb(51, 123, 44);
/* oklch */ color: oklch(51.9% 0.135 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a268',
    500: '#337b2c',
    950: '#000000',
  },
}
SCSS
$custom: #337b2c;
$custom-light: #73a268;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2c",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 44
  },
  "hsl": {
    "h": 114.684,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.13481,
    "h": 141.9
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#337B2C
secondary
#A458AB
accent
#51D7CB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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