#337158#337158

#337158 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 50.0% C 0.076 H 164.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#337158
RGBrgb(51, 113, 88)
HSLhsl(156, 38%, 32%)
HSVhsv(156, 55%, 44%)
CMYKcmyk(54.9%, 0%, 22.1%, 55.7%)
CIE-LABlab(43.09, -26.54, 7.87)
CIE-LCHlch(43.09, 27.68, 163.47°)
OKLaboklab(50% -0.0737 0.0202)
OKLCHoklch(50% 0.076 164.7)
XYZxyz(9.0310, 13.2179, 11.3060)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337158 #71334C
analogous
#337139 #337158 #336B71
triadic
#337158 #583371 #715833
tetradic
#337158 #393371 #71334C #6B7133
square
#337158 #393371 #71334C #6B7133
split-complementary
#337158 #71336B #713933
monochromatic
#0D1D16 #204737 #337158 #469B79 #65B997

Accessibility & contrast

On white

5.76
#337158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#337158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337158
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337158#FFFFFF#000000##FFFFFF
##3371581.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A57
Deuteranopia (green-blind)
#66635A
Tritanopia (blue-blind)
#1C716A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337158;
/* rgb */ color: rgb(51, 113, 88);
/* oklch */ color: oklch(50.0% 0.076 164.7);
Tailwind
colors: {
  custom: {
    50: '#709a87',
    500: '#337158',
    950: '#000000',
  },
}
SCSS
$custom: #337158;
$custom-light: #709a87;
$custom-dark: #000000;
JSON
{
  "hex": "#337158",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 88
  },
  "hsl": {
    "h": 155.806,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.07645,
    "h": 164.7
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#337158
secondary
#A25E79
accent
#5A89CE
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #337158

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

Preview Lab → · Contrast checker → · Palette generator →

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