#337C40#337C40

#337C40 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.117 H 147.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337C40
RGBrgb(51, 124, 64)
HSLhsl(131, 42%, 34%)
HSVhsv(131, 59%, 49%)
CMYKcmyk(58.9%, 0%, 48.4%, 51.4%)
CIE-LABlab(46.30, -36.49, 26.02)
CIE-LCHlch(46.30, 44.82, 144.52°)
OKLaboklab(52.46% -0.0988 0.0635)
OKLCHoklch(52.46% 0.117 147.3)
XYZxyz(9.4977, 15.4884, 7.3386)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C40 #7C336F
analogous
#4B7C33 #337C40 #337C65
triadic
#337C40 #40337C #7C4033
tetradic
#337C40 #334B7C #7C336F #7C6533
square
#337C40 #334B7C #7C336F #7C6533
split-complementary
#337C40 #65337C #7C334B
monochromatic
#0F2513 #21512A #337C40 #45A756 #68C178

Accessibility & contrast

On white

5.12
#337C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C40#FFFFFF#000000##FFFFFF
##337C401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#23796E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337c40;
/* rgb */ color: rgb(51, 124, 64);
/* oklch */ color: oklch(52.5% 0.117 147.3);
Tailwind
colors: {
  custom: {
    50: '#72a276',
    500: '#337c40',
    950: '#000000',
  },
}
SCSS
$custom: #337c40;
$custom-light: #72a276;
$custom-dark: #000000;
JSON
{
  "hex": "#337c40",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 130.685,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52463,
    "c": 0.11744,
    "h": 147.3
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#337C40
secondary
#A9629C
accent
#56BCD2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337C40

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

Preview Lab → · Contrast checker → · Palette generator →

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