#337E2A#337E2A

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

Color values

HEX#337E2A
RGBrgb(51, 126, 42)
HSLhsl(114, 50%, 33%)
HSVhsv(114, 67%, 49%)
CMYKcmyk(59.5%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.70, -40.33, 37.69)
CIE-LCHlch(46.70, 55.20, 136.93°)
OKLaboklab(52.71% -0.1101 0.0874)
OKLCHoklch(52.71% 0.141 141.6)
XYZxyz(9.2436, 15.7919, 4.7511)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E2A #752A7E
analogous
#5D7E2A #337E2A #2A7E4B
triadic
#337E2A #2A337E #7E2A33
tetradic
#337E2A #2A5D7E #752A7E #7E4B2A
square
#337E2A #2A5D7E #752A7E #7E4B2A
split-complementary
#337E2A #4B2A7E #7E2A5D
monochromatic
#0E220B #20501B #337E2A #46AC39 #66C85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337E2A#FFFFFF#000000##FFFFFF
##337E2A1.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)
#817320
Deuteranopia (green-blind)
#786C31
Tritanopia (blue-blind)
#287A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e2a;
/* rgb */ color: rgb(51, 126, 42);
/* oklch */ color: oklch(52.7% 0.141 141.6);
Tailwind
colors: {
  custom: {
    50: '#73a467',
    500: '#337e2a',
    950: '#000000',
  },
}
SCSS
$custom: #337e2a;
$custom-light: #73a467;
$custom-dark: #000000;
JSON
{
  "hex": "#337e2a",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 113.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.14052,
    "h": 141.6
  },
  "luminance": 0.15793
}

Semantic roles & 50–950 ramp

primary
#337E2A
secondary
#A456AE
accent
#4EDACB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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