#337F38#337F38

#337F38 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.130 H 144.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#337F38
RGBrgb(51, 127, 56)
HSLhsl(124, 43%, 35%)
HSVhsv(124, 60%, 50%)
CMYKcmyk(59.8%, 0%, 55.9%, 50.2%)
CIE-LABlab(47.19, -38.98, 31.39)
CIE-LCHlch(47.19, 50.05, 141.16°)
OKLaboklab(53.16% -0.1057 0.0751)
OKLCHoklch(53.16% 0.13 144.6)
XYZxyz(9.6679, 16.1672, 6.3517)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F38 #7F337A
analogous
#547F33 #337F38 #337F5E
triadic
#337F38 #38337F #7F3833
tetradic
#337F38 #33547F #7F337A #7F5E33
square
#337F38 #33547F #7F337A #7F5E33
split-complementary
#337F38 #5E337F #7F3354
monochromatic
#102811 #215325 #337F38 #45AB4B #69C36F

Accessibility & contrast

On white

4.96
#337F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#337F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F38
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F38#FFFFFF#000000##FFFFFF
##337F381.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817431
Deuteranopia (green-blind)
#776D3D
Tritanopia (blue-blind)
#257C6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f38;
/* rgb */ color: rgb(51, 127, 56);
/* oklch */ color: oklch(53.2% 0.130 144.6);
Tailwind
colors: {
  custom: {
    50: '#73a570',
    500: '#337f38',
    950: '#000000',
  },
}
SCSS
$custom: #337f38;
$custom-light: #73a570;
$custom-dark: #000000;
JSON
{
  "hex": "#337f38",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 123.947,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.12966,
    "h": 144.6
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#337F38
secondary
#AB63A6
accent
#55CAD2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #337F38

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

Preview Lab → · Contrast checker → · Palette generator →

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