#337A5E#337A5E

#337A5E is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.085 H 164.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337A5E
RGBrgb(51, 122, 94)
HSLhsl(156, 41%, 34%)
HSVhsv(156, 58%, 48%)
CMYKcmyk(58.2%, 0%, 23%, 52.2%)
CIE-LABlab(46.22, -29.46, 8.74)
CIE-LCHlch(46.22, 30.73, 163.48°)
OKLaboklab(52.59% -0.0817 0.0224)
OKLCHoklch(52.59% 0.085 164.7)
XYZxyz(10.3442, 15.4301, 13.0207)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A5E #7A334F
analogous
#337A3B #337A5E #33737A
triadic
#337A5E #5E337A #7A5E33
tetradic
#337A5E #3B337A #7A334F #737A33
square
#337A5E #3B337A #7A334F #737A33
split-complementary
#337A5E #7A3373 #7A3B33
monochromatic
#0F241B #214F3D #337A5E #45A57F #68C09D

Accessibility & contrast

On white

5.14
#337A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A5E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A5E#FFFFFF#000000##FFFFFF
##337A5E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725D
Deuteranopia (green-blind)
#6D6A60
Tritanopia (blue-blind)
#137A72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337a5e;
/* rgb */ color: rgb(51, 122, 94);
/* oklch */ color: oklch(52.6% 0.085 164.7);
Tailwind
colors: {
  custom: {
    50: '#71a18b',
    500: '#337a5e',
    950: '#000000',
  },
}
SCSS
$custom: #337a5e;
$custom-light: #71a18b;
$custom-dark: #000000;
JSON
{
  "hex": "#337a5e",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 156.338,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.08469,
    "h": 164.7
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#337A5E
secondary
#A8617D
accent
#5787D1
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #337A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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