#337939#337939

#337939 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.120 H 145.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#337939
RGBrgb(51, 121, 57)
HSLhsl(125, 41%, 34%)
HSVhsv(125, 58%, 47%)
CMYKcmyk(57.9%, 0%, 52.9%, 52.5%)
CIE-LABlab(45.18, -36.33, 28.42)
CIE-LCHlch(45.18, 46.12, 141.97°)
OKLaboklab(51.52% -0.0985 0.0685)
OKLCHoklch(51.52% 0.12 145.2)
XYZxyz(8.9406, 14.6732, 6.2312)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337939 #793373
analogous
#507933 #337939 #33795C
triadic
#337939 #393379 #793933
tetradic
#337939 #335079 #793373 #795C33
square
#337939 #335079 #793373 #795C33
split-complementary
#337939 #5C3379 #793350
monochromatic
#0F2310 #214E25 #337939 #45A44D #67BF6F

Accessibility & contrast

On white

5.34
#337939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#337939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337939
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337939#FFFFFF#000000##FFFFFF
##3379391.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F33
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#26766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337939;
/* rgb */ color: rgb(51, 121, 57);
/* oklch */ color: oklch(51.5% 0.120 145.2);
Tailwind
colors: {
  custom: {
    50: '#72a071',
    500: '#337939',
    950: '#000000',
  },
}
SCSS
$custom: #337939;
$custom-light: #72a071;
$custom-dark: #000000;
JSON
{
  "hex": "#337939",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 125.143,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.12,
    "h": 145.2
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#337939
secondary
#A761A1
accent
#57C6D1
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #337939

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

Preview Lab → · Contrast checker → · Palette generator →

#337939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva