#337F4A#337F4A

#337F4A is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.5% C 0.112 H 150.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#337F4A
RGBrgb(51, 127, 74)
HSLhsl(138, 43%, 35%)
HSVhsv(138, 60%, 50%)
CMYKcmyk(59.8%, 0%, 41.7%, 50.2%)
CIE-LABlab(47.46, -36.02, 21.97)
CIE-LCHlch(47.46, 42.20, 148.62°)
OKLaboklab(53.47% -0.0975 0.0545)
OKLCHoklch(53.47% 0.112 150.8)
XYZxyz(10.1899, 16.3760, 9.1011)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F4A #7F3368
analogous
#427F33 #337F4A #337F70
triadic
#337F4A #4A337F #7F4A33
tetradic
#337F4A #33427F #7F3368 #7F7033
square
#337F4A #33427F #7F3368 #7F7033
split-complementary
#337F4A #70337F #7F3342
monochromatic
#102817 #215331 #337F4A #45AB63 #69C385

Accessibility & contrast

On white

4.91
#337F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#337F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F4A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F4A#FFFFFF#000000##FFFFFF
##337F4A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807546
Deuteranopia (green-blind)
#756E4D
Tritanopia (blue-blind)
#1E7D72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337f4a;
/* rgb */ color: rgb(51, 127, 74);
/* oklch */ color: oklch(53.5% 0.112 150.8);
Tailwind
colors: {
  custom: {
    50: '#72a57d',
    500: '#337f4a',
    950: '#000000',
  },
}
SCSS
$custom: #337f4a;
$custom-light: #72a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#337f4a",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 138.158,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.11174,
    "h": 150.8
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#337F4A
secondary
#AB6395
accent
#55ADD2
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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