#337A5F#337A5F

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

Color values

HEX#337A5F
RGBrgb(51, 122, 95)
HSLhsl(157, 41%, 34%)
HSVhsv(157, 58%, 48%)
CMYKcmyk(58.2%, 0%, 22.1%, 52.2%)
CIE-LABlab(46.24, -29.22, 8.18)
CIE-LCHlch(46.24, 30.34, 164.35°)
OKLaboklab(52.62% -0.0812 0.021)
OKLCHoklch(52.62% 0.084 165.5)
XYZxyz(10.3893, 15.4481, 13.2585)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A5F #7A334E
analogous
#337A3C #337A5F #33727A
triadic
#337A5F #5F337A #7A5F33
tetradic
#337A5F #3C337A #7A334E #727A33
square
#337A5F #3C337A #7A334E #727A33
split-complementary
#337A5F #7A3372 #7A3C33
monochromatic
#0F241C #214F3D #337A5F #45A581 #68C09E

Accessibility & contrast

On white

5.13
#337A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A5F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A5F#FFFFFF#000000##FFFFFF
##337A5F1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#6D6B61
Tritanopia (blue-blind)
#127A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337a5f;
/* rgb */ color: rgb(51, 122, 95);
/* oklch */ color: oklch(52.6% 0.084 165.5);
Tailwind
colors: {
  custom: {
    50: '#71a18c',
    500: '#337a5f',
    950: '#000000',
  },
}
SCSS
$custom: #337a5f;
$custom-light: #71a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#337a5f",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 157.183,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.08384,
    "h": 165.5
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#337A5F
secondary
#A8617C
accent
#5785D1
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #337A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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