#338F80#338F80

#338F80 is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.2% C 0.089 H 180.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#338F80
RGBrgb(51, 143, 128)
HSLhsl(170, 47%, 38%)
HSVhsv(170, 64%, 56%)
CMYKcmyk(64.3%, 0%, 10.5%, 43.9%)
CIE-LABlab(53.93, -30.71, 0.00)
CIE-LCHlch(53.93, 30.71, 180.00°)
OKLaboklab(59.16% -0.0891 -0.0005)
OKLCHoklch(59.16% 0.089 180.3)
XYZxyz(15.0822, 21.9056, 23.8513)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F80 #8F3342
analogous
#338F52 #338F80 #33708F
triadic
#338F80 #80338F #8F8033
tetradic
#338F80 #52338F #8F3342 #708F33
square
#338F80 #52338F #8F3342 #708F33
split-complementary
#338F80 #8F3370 #8F5233
monochromatic
#13352F #236258 #338F80 #43BCA8 #70CCBD

Accessibility & contrast

On white

3.90
#338F80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#338F80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F80
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F80#FFFFFF#000000##000000
##338F801.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877F
Deuteranopia (green-blind)
#7B7D81
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f80;
/* rgb */ color: rgb(51, 143, 128);
/* oklch */ color: oklch(59.2% 0.089 180.3);
Tailwind
colors: {
  custom: {
    50: '#76b0a4',
    500: '#338f80',
    950: '#000000',
  },
}
SCSS
$custom: #338f80;
$custom-light: #76b0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#338f80",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 128
  },
  "hsl": {
    "h": 170.217,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.08913,
    "h": 180.3
  },
  "luminance": 0.21907
}

Semantic roles & 50–950 ramp

primary
#338F80
secondary
#B46A76
accent
#5167D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F80

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

Preview Lab → · Contrast checker → · Palette generator →

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