#337B34#337B34

#337B34 is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.128 H 143.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#337B34
RGBrgb(51, 123, 52)
HSLhsl(121, 41%, 34%)
HSVhsv(121, 59%, 48%)
CMYKcmyk(58.5%, 0%, 57.7%, 51.8%)
CIE-LABlab(45.79, -37.89, 31.78)
CIE-LCHlch(45.79, 49.45, 140.01°)
OKLaboklab(52% -0.1029 0.0756)
OKLCHoklch(52% 0.128 143.7)
XYZxyz(9.0675, 15.1169, 5.6882)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B34 #7B337A
analogous
#567B33 #337B34 #337B58
triadic
#337B34 #34337B #7B3433
tetradic
#337B34 #33567B #7B337A #7B5833
square
#337B34 #33567B #7B337A #7B5833
split-complementary
#337B34 #58337B #7B3356
monochromatic
#0F240F #215022 #337B34 #45A646 #68C069

Accessibility & contrast

On white

5.22
#337B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#337B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B34
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B34#FFFFFF#000000##FFFFFF
##337B341.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#746A39
Tritanopia (blue-blind)
#27786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b34;
/* rgb */ color: rgb(51, 123, 52);
/* oklch */ color: oklch(52.0% 0.128 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a26d',
    500: '#337b34',
    950: '#000000',
  },
}
SCSS
$custom: #337b34;
$custom-light: #72a26d;
$custom-dark: #000000;
JSON
{
  "hex": "#337b34",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 120.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.51996,
    "c": 0.12771,
    "h": 143.7
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#337B34
secondary
#A862A7
accent
#57D0D1
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337B34

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

Preview Lab → · Contrast checker → · Palette generator →

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