#337D38#337D38

#337D38 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.127 H 144.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337D38
RGBrgb(51, 125, 56)
HSLhsl(124, 42%, 35%)
HSVhsv(124, 59%, 49%)
CMYKcmyk(59.2%, 0%, 55.2%, 51%)
CIE-LABlab(46.52, -38.16, 30.57)
CIE-LCHlch(46.52, 48.90, 141.30°)
OKLaboklab(52.61% -0.1035 0.0733)
OKLCHoklch(52.61% 0.127 144.7)
XYZxyz(9.4121, 15.6557, 6.2665)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D38 #7D3378
analogous
#537D33 #337D38 #337D5D
triadic
#337D38 #38337D #7D3833
tetradic
#337D38 #33537D #7D3378 #7D5D33
square
#337D38 #33537D #7D3378 #7D5D33
split-complementary
#337D38 #5D337D #7D3353
monochromatic
#102611 #215225 #337D38 #45A84B #69C26F

Accessibility & contrast

On white

5.08
#337D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#337D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D38
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D38#FFFFFF#000000##FFFFFF
##337D381.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#257A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d38;
/* rgb */ color: rgb(51, 125, 56);
/* oklch */ color: oklch(52.6% 0.127 144.7);
Tailwind
colors: {
  custom: {
    50: '#72a370',
    500: '#337d38',
    950: '#000000',
  },
}
SCSS
$custom: #337d38;
$custom-light: #72a370;
$custom-dark: #000000;
JSON
{
  "hex": "#337d38",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 56
  },
  "hsl": {
    "h": 124.054,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.12679,
    "h": 144.7
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337D38

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

Preview Lab → · Contrast checker → · Palette generator →

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