#338F86#338F86

#338F86 is a mid, moderate teal. Relative luminance 0.221; OKLCH L 59.4% C 0.087 H 186.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#338F86
RGBrgb(51, 143, 134)
HSLhsl(174, 47%, 38%)
HSVhsv(174, 64%, 56%)
CMYKcmyk(64.3%, 0%, 6.3%, 43.9%)
CIE-LABlab(54.10, -29.05, -3.21)
CIE-LCHlch(54.10, 29.22, 186.30°)
OKLaboklab(59.36% -0.0863 -0.0091)
OKLCHoklch(59.36% 0.087 186)
XYZxyz(15.4888, 22.0683, 25.9930)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F86 #8F333C
analogous
#338F58 #338F86 #336A8F
triadic
#338F86 #86338F #8F8633
tetradic
#338F86 #58338F #8F333C #6A8F33
square
#338F86 #58338F #8F333C #6A8F33
split-complementary
#338F86 #8F336A #8F5833
monochromatic
#133531 #23625C #338F86 #43BCB0 #70CCC3

Accessibility & contrast

On white

3.88
#338F86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#338F86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F86
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F86#FFFFFF#000000##000000
##338F861.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888786
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#00928C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f86;
/* rgb */ color: rgb(51, 143, 134);
/* oklch */ color: oklch(59.4% 0.087 186.0);
Tailwind
colors: {
  custom: {
    50: '#76b0a9',
    500: '#338f86',
    950: '#000000',
  },
}
SCSS
$custom: #338f86;
$custom-light: #76b0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#338f86",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 134
  },
  "hsl": {
    "h": 174.13,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59362,
    "c": 0.08676,
    "h": 186
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#338F86
secondary
#B46A71
accent
#515ED7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F86

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

Preview Lab → · Contrast checker → · Palette generator →

#338F86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva