#338C86#338C86

#338C86 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.6% C 0.084 H 188.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#338C86
RGBrgb(51, 140, 134)
HSLhsl(176, 47%, 37%)
HSVhsv(176, 64%, 55%)
CMYKcmyk(63.6%, 0%, 4.3%, 45.1%)
CIE-LABlab(53.15, -27.57, -4.62)
CIE-LCHlch(53.15, 27.96, 189.50°)
OKLaboklab(58.59% -0.0829 -0.0129)
OKLCHoklch(58.59% 0.084 188.9)
XYZxyz(15.0445, 21.1796, 25.8448)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C86 #8C3339
analogous
#338C59 #338C86 #33668C
triadic
#338C86 #86338C #8C8633
tetradic
#338C86 #59338C #8C3339 #668C33
square
#338C86 #59338C #8C3339 #668C33
split-complementary
#338C86 #8C3366 #8C5933
monochromatic
#123230 #235F5B #338C86 #43B9B1 #6FCBC4

Accessibility & contrast

On white

4.01
#338C86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#338C86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C86
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C86#FFFFFF#000000##000000
##338C861.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#848586
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338c86;
/* rgb */ color: rgb(51, 140, 134);
/* oklch */ color: oklch(58.6% 0.084 188.9);
Tailwind
colors: {
  custom: {
    50: '#76aea9',
    500: '#338c86',
    950: '#000000',
  },
}
SCSS
$custom: #338c86;
$custom-light: #76aea9;
$custom-dark: #000000;
JSON
{
  "hex": "#338c86",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 134
  },
  "hsl": {
    "h": 175.955,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.08395,
    "h": 188.9
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#338C86
secondary
#B2686D
accent
#525BD6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338C86

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

Preview Lab → · Contrast checker → · Palette generator →

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