#337247#337247

#337247 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.095 H 151.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#337247
RGBrgb(51, 114, 71)
HSLhsl(139, 38%, 32%)
HSVhsv(139, 55%, 45%)
CMYKcmyk(55.3%, 0%, 37.7%, 55.3%)
CIE-LABlab(43.05, -30.77, 17.85)
CIE-LCHlch(43.05, 35.57, 149.89°)
OKLaboklab(49.84% -0.0836 0.0447)
OKLCHoklch(49.84% 0.095 151.9)
XYZxyz(8.5193, 13.1926, 8.0575)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337247 #72335E
analogous
#3E7233 #337247 #337267
triadic
#337247 #473372 #724733
tetradic
#337247 #333E72 #72335E #726733
square
#337247 #333E72 #72335E #726733
split-complementary
#337247 #673372 #72333E
monochromatic
#0D1D12 #20482D #337247 #469C61 #65BA80

Accessibility & contrast

On white

5.77
#337247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#337247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337247
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337247#FFFFFF#000000##FFFFFF
##3372471.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726944
Deuteranopia (green-blind)
#69634A
Tritanopia (blue-blind)
#247067
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337247;
/* rgb */ color: rgb(51, 114, 71);
/* oklch */ color: oklch(49.8% 0.095 151.9);
Tailwind
colors: {
  custom: {
    50: '#709b7a',
    500: '#337247',
    950: '#000000',
  },
}
SCSS
$custom: #337247;
$custom-light: #709b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#337247",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 71
  },
  "hsl": {
    "h": 139.048,
    "s": 38.182,
    "l": 32.353
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.09477,
    "h": 151.9
  },
  "luminance": 0.13193
}

Semantic roles & 50–950 ramp

primary
#337247
secondary
#A25F8D
accent
#5AA9CE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337247

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

Preview Lab → · Contrast checker → · Palette generator →

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