#337E40#337E40

#337E40 is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.120 H 147.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#337E40
RGBrgb(51, 126, 64)
HSLhsl(130, 42%, 35%)
HSVhsv(130, 60%, 49%)
CMYKcmyk(59.5%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.97, -37.35, 26.86)
CIE-LCHlch(46.97, 46.00, 144.27°)
OKLaboklab(53.02% -0.1011 0.0654)
OKLCHoklch(53.02% 0.12 147.1)
XYZxyz(9.7509, 15.9948, 7.4229)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E40 #7E3371
analogous
#4C7E33 #337E40 #337E66
triadic
#337E40 #40337E #7E4033
tetradic
#337E40 #334C7E #7E3371 #7E6633
square
#337E40 #334C7E #7E3371 #7E6633
split-complementary
#337E40 #66337E #7E334C
monochromatic
#102714 #21522A #337E40 #45AA56 #69C279

Accessibility & contrast

On white

5.00
#337E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#337E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E40
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E40#FFFFFF#000000##FFFFFF
##337E401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80733B
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#227B6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e40;
/* rgb */ color: rgb(51, 126, 64);
/* oklch */ color: oklch(53.0% 0.120 147.1);
Tailwind
colors: {
  custom: {
    50: '#72a476',
    500: '#337e40',
    950: '#000000',
  },
}
SCSS
$custom: #337e40;
$custom-light: #72a476;
$custom-dark: #000000;
JSON
{
  "hex": "#337e40",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 130.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.12041,
    "h": 147.1
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#337E40
secondary
#AA639E
accent
#56BDD2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337E40

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

Preview Lab → · Contrast checker → · Palette generator →

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