#337E2B#337E2B

#337E2B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.140 H 141.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#337E2B
RGBrgb(51, 126, 43)
HSLhsl(114, 49%, 33%)
HSVhsv(114, 66%, 49%)
CMYKcmyk(59.5%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.71, -40.22, 37.24)
CIE-LCHlch(46.71, 54.81, 137.20°)
OKLaboklab(52.72% -0.1097 0.0865)
OKLCHoklch(52.72% 0.14 141.7)
XYZxyz(9.2617, 15.7991, 4.8465)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E2B #762B7E
analogous
#5C7E2B #337E2B #2B7E4C
triadic
#337E2B #2B337E #7E2B33
tetradic
#337E2B #2B5C7E #762B7E #7E4C2B
square
#337E2B #2B5C7E #762B7E #7E4C2B
split-complementary
#337E2B #4C2B7E #7E2B5C
monochromatic
#0E230C #21501B #337E2B #45AC3B #66C75C

Accessibility & contrast

On white

5.05
#337E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#337E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E2B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E2B#FFFFFF#000000##FFFFFF
##337E2B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#287A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e2b;
/* rgb */ color: rgb(51, 126, 43);
/* oklch */ color: oklch(52.7% 0.140 141.7);
Tailwind
colors: {
  custom: {
    50: '#73a468',
    500: '#337e2b',
    950: '#000000',
  },
}
SCSS
$custom: #337e2b;
$custom-light: #73a468;
$custom-dark: #000000;
JSON
{
  "hex": "#337e2b",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 114.217,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.13971,
    "h": 141.7
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#337E2B
secondary
#A558AD
accent
#4FD9CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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