#337E38#337E38

#337E38 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.128 H 144.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#337E38
RGBrgb(51, 126, 56)
HSLhsl(124, 42%, 35%)
HSVhsv(124, 60%, 49%)
CMYKcmyk(59.5%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.86, -38.57, 30.98)
CIE-LCHlch(46.86, 49.47, 141.23°)
OKLaboklab(52.89% -0.1046 0.0742)
OKLCHoklch(52.89% 0.128 144.7)
XYZxyz(9.5393, 15.9102, 6.3089)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E38 #7E3379
analogous
#547E33 #337E38 #337E5E
triadic
#337E38 #38337E #7E3833
tetradic
#337E38 #33547E #7E3379 #7E5E33
square
#337E38 #33547E #7E3379 #7E5E33
split-complementary
#337E38 #5E337E #7E3354
monochromatic
#102711 #215225 #337E38 #45AA4B #69C26F

Accessibility & contrast

On white

5.02
#337E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#337E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E38
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E38#FFFFFF#000000##FFFFFF
##337E381.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807332
Deuteranopia (green-blind)
#766D3D
Tritanopia (blue-blind)
#257B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e38;
/* rgb */ color: rgb(51, 126, 56);
/* oklch */ color: oklch(52.9% 0.128 144.7);
Tailwind
colors: {
  custom: {
    50: '#73a470',
    500: '#337e38',
    950: '#000000',
  },
}
SCSS
$custom: #337e38;
$custom-light: #73a470;
$custom-dark: #000000;
JSON
{
  "hex": "#337e38",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 124,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.12822,
    "h": 144.7
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#337E38
secondary
#AA63A5
accent
#56CAD2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337E38

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

Preview Lab → · Contrast checker → · Palette generator →

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