#337148#337148

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

Color values

HEX#337148
RGBrgb(51, 113, 72)
HSLhsl(140, 38%, 32%)
HSVhsv(140, 55%, 44%)
CMYKcmyk(54.9%, 0%, 36.3%, 55.7%)
CIE-LABlab(42.73, -30.10, 16.84)
CIE-LCHlch(42.73, 34.49, 150.78°)
OKLaboklab(49.59% -0.0818 0.0423)
OKLCHoklch(49.59% 0.092 152.7)
XYZxyz(8.4395, 12.9812, 8.1905)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337148 #71335C
analogous
#3D7133 #337148 #337167
triadic
#337148 #483371 #714833
tetradic
#337148 #333D71 #71335C #716733
square
#337148 #333D71 #71335C #716733
split-complementary
#337148 #673371 #71333D
monochromatic
#0D1D12 #20472D #337148 #469B63 #65B982

Accessibility & contrast

On white

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

On black

3.60
#337148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337148#FFFFFF#000000##FFFFFF
##3371481.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716945
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#247066
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337148;
/* rgb */ color: rgb(51, 113, 72);
/* oklch */ color: oklch(49.6% 0.092 152.7);
Tailwind
colors: {
  custom: {
    50: '#709a7b',
    500: '#337148',
    950: '#000000',
  },
}
SCSS
$custom: #337148;
$custom-light: #709a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#337148",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 72
  },
  "hsl": {
    "h": 140.323,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.09213,
    "h": 152.7
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#337148
secondary
#A25E8B
accent
#5AA7CE
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #337148

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

Preview Lab → · Contrast checker → · Palette generator →

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