#337B38#337B38

#337B38 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.124 H 144.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#337B38
RGBrgb(51, 123, 56)
HSLhsl(124, 41%, 34%)
HSVhsv(124, 59%, 48%)
CMYKcmyk(58.5%, 0%, 54.5%, 51.8%)
CIE-LABlab(45.84, -37.32, 29.76)
CIE-LCHlch(45.84, 47.73, 141.43°)
OKLaboklab(52.05% -0.1012 0.0715)
OKLCHoklch(52.05% 0.124 144.8)
XYZxyz(9.1615, 15.1544, 6.1829)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B38 #7B3376
analogous
#527B33 #337B38 #337B5C
triadic
#337B38 #38337B #7B3833
tetradic
#337B38 #33527B #7B3376 #7B5C33
square
#337B38 #33527B #7B3376 #7B5C33
split-complementary
#337B38 #5C337B #7B3352
monochromatic
#0F2411 #215024 #337B38 #45A64C #68C06E

Accessibility & contrast

On white

5.21
#337B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#337B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B38
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B38#FFFFFF#000000##FFFFFF
##337B381.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7032
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#26786C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337b38;
/* rgb */ color: rgb(51, 123, 56);
/* oklch */ color: oklch(52.1% 0.124 144.8);
Tailwind
colors: {
  custom: {
    50: '#72a270',
    500: '#337b38',
    950: '#000000',
  },
}
SCSS
$custom: #337b38;
$custom-light: #72a270;
$custom-dark: #000000;
JSON
{
  "hex": "#337b38",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 124.167,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.1239,
    "h": 144.8
  },
  "luminance": 0.15155
}

Semantic roles & 50–950 ramp

primary
#337B38
secondary
#A862A3
accent
#57C9D1
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337B38

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

Preview Lab → · Contrast checker → · Palette generator →

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