#337948#337948

#337948 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.8% C 0.105 H 150.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#337948
RGBrgb(51, 121, 72)
HSLhsl(138, 41%, 34%)
HSVhsv(138, 58%, 47%)
CMYKcmyk(57.9%, 0%, 40.5%, 52.5%)
CIE-LABlab(45.42, -33.76, 20.42)
CIE-LCHlch(45.42, 39.45, 148.83°)
OKLaboklab(51.79% -0.0915 0.0508)
OKLCHoklch(51.79% 0.105 150.9)
XYZxyz(9.3716, 14.8456, 8.5013)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337948 #793364
analogous
#417933 #337948 #33796B
triadic
#337948 #483379 #794833
tetradic
#337948 #334179 #793364 #796B33
square
#337948 #334179 #793364 #796B33
split-complementary
#337948 #6B3379 #793341
monochromatic
#0F2315 #214E2E #337948 #45A462 #67BF82

Accessibility & contrast

On white

5.29
#337948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#337948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337948
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337948#FFFFFF#000000##FFFFFF
##3379481.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7045
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#21776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337948;
/* rgb */ color: rgb(51, 121, 72);
/* oklch */ color: oklch(51.8% 0.105 150.9);
Tailwind
colors: {
  custom: {
    50: '#71a07b',
    500: '#337948',
    950: '#000000',
  },
}
SCSS
$custom: #337948;
$custom-light: #71a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#337948",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 138,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.10466,
    "h": 150.9
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#337948
secondary
#A76192
accent
#57ACD1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #337948

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

Preview Lab → · Contrast checker → · Palette generator →

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