#337C38#337C38

#337C38 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.125 H 144.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#337C38
RGBrgb(51, 124, 56)
HSLhsl(124, 42%, 34%)
HSVhsv(124, 59%, 49%)
CMYKcmyk(58.9%, 0%, 54.8%, 51.4%)
CIE-LABlab(46.18, -37.74, 30.17)
CIE-LCHlch(46.18, 48.31, 141.36°)
OKLaboklab(52.33% -0.1024 0.0724)
OKLCHoklch(52.33% 0.125 144.7)
XYZxyz(9.2862, 15.4038, 6.2245)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C38 #7C3377
analogous
#537C33 #337C38 #337C5D
triadic
#337C38 #38337C #7C3833
tetradic
#337C38 #33537C #7C3377 #7C5D33
square
#337C38 #33537C #7C3377 #7C5D33
split-complementary
#337C38 #5D337C #7C3353
monochromatic
#0F2511 #215124 #337C38 #45A74C #68C16E

Accessibility & contrast

On white

5.15
#337C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#337C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C38
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C38#FFFFFF#000000##FFFFFF
##337C381.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7132
Deuteranopia (green-blind)
#756B3D
Tritanopia (blue-blind)
#26796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c38;
/* rgb */ color: rgb(51, 124, 56);
/* oklch */ color: oklch(52.3% 0.125 144.7);
Tailwind
colors: {
  custom: {
    50: '#72a370',
    500: '#337c38',
    950: '#000000',
  },
}
SCSS
$custom: #337c38;
$custom-light: #72a370;
$custom-dark: #000000;
JSON
{
  "hex": "#337c38",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 124.11,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.12535,
    "h": 144.7
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#337C38
secondary
#A962A4
accent
#56C9D2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337C38

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

Preview Lab → · Contrast checker → · Palette generator →

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