#337F2A#337F2A

#337F2A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.142 H 141.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#337F2A
RGBrgb(51, 127, 42)
HSLhsl(114, 50%, 33%)
HSVhsv(114, 67%, 50%)
CMYKcmyk(59.8%, 0%, 66.9%, 50.2%)
CIE-LABlab(47.04, -40.72, 38.07)
CIE-LCHlch(47.04, 55.74, 136.93°)
OKLaboklab(52.99% -0.1111 0.0881)
OKLCHoklch(52.99% 0.142 141.6)
XYZxyz(9.3721, 16.0489, 4.7939)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2A #762A7F
analogous
#5D7F2A #337F2A #2A7F4B
triadic
#337F2A #2A337F #7F2A33
tetradic
#337F2A #2A5D7F #762A7F #7F4B2A
square
#337F2A #2A5D7F #762A7F #7F4B2A
split-complementary
#337F2A #4B2A7F #7F2A5D
monochromatic
#0E230C #21511B #337F2A #45AD39 #66C95B

Accessibility & contrast

On white

4.99
#337F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F2A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F2A#FFFFFF#000000##FFFFFF
##337F2A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731F
Deuteranopia (green-blind)
#796D31
Tritanopia (blue-blind)
#287B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2a;
/* rgb */ color: rgb(51, 127, 42);
/* oklch */ color: oklch(53.0% 0.142 141.6);
Tailwind
colors: {
  custom: {
    50: '#73a568',
    500: '#337f2a',
    950: '#000000',
  },
}
SCSS
$custom: #337f2a;
$custom-light: #73a568;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2a",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 113.647,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.14185,
    "h": 141.6
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#337F2A
secondary
#A557AE
accent
#4EDACB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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