#337147#337147

#337147 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.6% C 0.093 H 152.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#337147
RGBrgb(51, 113, 71)
HSLhsl(139, 38%, 32%)
HSVhsv(139, 55%, 44%)
CMYKcmyk(54.9%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.72, -30.31, 17.40)
CIE-LCHlch(42.72, 34.94, 150.14°)
OKLaboklab(49.57% -0.0823 0.0436)
OKLCHoklch(49.57% 0.093 152.1)
XYZxyz(8.4071, 12.9683, 8.0201)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337147 #71335D
analogous
#3E7133 #337147 #337166
triadic
#337147 #473371 #714733
tetradic
#337147 #333E71 #71335D #716633
square
#337147 #333E71 #71335D #716633
split-complementary
#337147 #663371 #71333E
monochromatic
#0D1D12 #20472D #337147 #469B61 #65B980

Accessibility & contrast

On white

5.84
#337147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#337147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337147
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337147#FFFFFF#000000##FFFFFF
##3371471.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716944
Deuteranopia (green-blind)
#69624A
Tritanopia (blue-blind)
#246F66
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337147;
/* rgb */ color: rgb(51, 113, 71);
/* oklch */ color: oklch(49.6% 0.093 152.1);
Tailwind
colors: {
  custom: {
    50: '#709a7a',
    500: '#337147',
    950: '#000000',
  },
}
SCSS
$custom: #337147;
$custom-light: #709a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#337147",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 139.355,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.09318,
    "h": 152.1
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#337147
secondary
#A25E8C
accent
#5AA8CE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337147

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

Preview Lab → · Contrast checker → · Palette generator →

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