#337F3F#337F3F

#337F3F is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.3% C 0.123 H 146.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#337F3F
RGBrgb(51, 127, 63)
HSLhsl(129, 43%, 35%)
HSVhsv(129, 60%, 50%)
CMYKcmyk(59.8%, 0%, 50.4%, 50.2%)
CIE-LABlab(47.29, -37.93, 27.80)
CIE-LCHlch(47.29, 47.03, 143.76°)
OKLaboklab(53.27% -0.1027 0.0675)
OKLCHoklch(53.27% 0.123 146.7)
XYZxyz(9.8512, 16.2405, 7.3173)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F3F #7F3373
analogous
#4D7F33 #337F3F #337F65
triadic
#337F3F #3F337F #7F3F33
tetradic
#337F3F #334D7F #7F3373 #7F6533
square
#337F3F #334D7F #7F3373 #7F6533
split-complementary
#337F3F #65337F #7F334D
monochromatic
#102814 #215329 #337F3F #45AB55 #69C378

Accessibility & contrast

On white

4.94
#337F3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#337F3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F3F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F3F#FFFFFF#000000##FFFFFF
##337F3F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743A
Deuteranopia (green-blind)
#776D43
Tritanopia (blue-blind)
#227C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f3f;
/* rgb */ color: rgb(51, 127, 63);
/* oklch */ color: oklch(53.3% 0.123 146.7);
Tailwind
colors: {
  custom: {
    50: '#73a575',
    500: '#337f3f',
    950: '#000000',
  },
}
SCSS
$custom: #337f3f;
$custom-light: #73a575;
$custom-dark: #000000;
JSON
{
  "hex": "#337f3f",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 63
  },
  "hsl": {
    "h": 129.474,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.12287,
    "h": 146.7
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#337F3F
secondary
#AB639F
accent
#55BFD2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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