#337B54#337B54

#337B54 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.6% C 0.096 H 157.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337B54
RGBrgb(51, 123, 84)
HSLhsl(148, 41%, 34%)
HSVhsv(148, 59%, 48%)
CMYKcmyk(58.5%, 0%, 31.7%, 51.8%)
CIE-LABlab(46.32, -32.22, 14.73)
CIE-LCHlch(46.32, 35.43, 155.43°)
OKLaboklab(52.6% -0.0879 0.0373)
OKLCHoklch(52.6% 0.096 157)
XYZxyz(10.0476, 15.5089, 10.8498)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B54 #7B335A
analogous
#367B33 #337B54 #337B78
triadic
#337B54 #54337B #7B5433
tetradic
#337B54 #33367B #7B335A #7B7833
square
#337B54 #33367B #7B335A #7B7833
split-complementary
#337B54 #78337B #7B3336
monochromatic
#0F2419 #215036 #337B54 #45A672 #68C091

Accessibility & contrast

On white

5.12
#337B54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337B54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B54
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B54#FFFFFF#000000##FFFFFF
##337B541.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7252
Deuteranopia (green-blind)
#706B56
Tritanopia (blue-blind)
#1A7A71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337b54;
/* rgb */ color: rgb(51, 123, 84);
/* oklch */ color: oklch(52.6% 0.096 157.0);
Tailwind
colors: {
  custom: {
    50: '#71a284',
    500: '#337b54',
    950: '#000000',
  },
}
SCSS
$custom: #337b54;
$custom-light: #71a284;
$custom-dark: #000000;
JSON
{
  "hex": "#337b54",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 84
  },
  "hsl": {
    "h": 147.5,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.09551,
    "h": 157
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

primary
#337B54
secondary
#A86288
accent
#5799D1
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #337B54

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

Preview Lab → · Contrast checker → · Palette generator →

#337B54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva