#338D87#338D87

#338D87 is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.9% C 0.085 H 188.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#338D87
RGBrgb(51, 141, 135)
HSLhsl(176, 47%, 38%)
HSVhsv(176, 64%, 55%)
CMYKcmyk(63.8%, 0%, 4.3%, 44.7%)
CIE-LABlab(53.49, -27.78, -4.68)
CIE-LCHlch(53.49, 28.17, 189.56°)
OKLaboklab(58.88% -0.0836 -0.0131)
OKLCHoklch(58.88% 0.085 188.9)
XYZxyz(15.2613, 21.5012, 26.2628)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D87 #8D3339
analogous
#338D5A #338D87 #33668D
triadic
#338D87 #87338D #8D8733
tetradic
#338D87 #5A338D #8D3339 #668D33
square
#338D87 #5A338D #8D3339 #668D33
split-complementary
#338D87 #8D3366 #8D5A33
monochromatic
#123331 #23605C #338D87 #43BAB2 #6FCBC5

Accessibility & contrast

On white

3.96
#338D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#338D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D87
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D87#FFFFFF#000000##000000
##338D871.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858687
Deuteranopia (green-blind)
#787C88
Tritanopia (blue-blind)
#00918B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338d87;
/* rgb */ color: rgb(51, 141, 135);
/* oklch */ color: oklch(58.9% 0.085 188.9);
Tailwind
colors: {
  custom: {
    50: '#76afa9',
    500: '#338d87',
    950: '#000000',
  },
}
SCSS
$custom: #338d87;
$custom-light: #76afa9;
$custom-dark: #000000;
JSON
{
  "hex": "#338d87",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 135
  },
  "hsl": {
    "h": 176,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5888,
    "c": 0.08461,
    "h": 188.9
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#338D87
secondary
#B3696E
accent
#515AD7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338D87

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

Preview Lab → · Contrast checker → · Palette generator →

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