#338F82#338F82

#338F82 is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.2% C 0.088 H 182.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#338F82
RGBrgb(51, 143, 130)
HSLhsl(172, 47%, 38%)
HSVhsv(172, 64%, 56%)
CMYKcmyk(64.3%, 0%, 9.1%, 43.9%)
CIE-LABlab(53.98, -30.17, -1.07)
CIE-LCHlch(53.98, 30.18, 182.03°)
OKLaboklab(59.23% -0.0882 -0.0034)
OKLCHoklch(59.23% 0.088 182.2)
XYZxyz(15.2151, 21.9588, 24.5514)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F82 #8F3340
analogous
#338F54 #338F82 #336E8F
triadic
#338F82 #82338F #8F8233
tetradic
#338F82 #54338F #8F3340 #6E8F33
square
#338F82 #54338F #8F3340 #6E8F33
split-complementary
#338F82 #8F336E #8F5433
monochromatic
#133530 #236259 #338F82 #43BCAB #70CCBF

Accessibility & contrast

On white

3.89
#338F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#338F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F82
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F82#FFFFFF#000000##000000
##338F821.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#898782
Deuteranopia (green-blind)
#7B7D83
Tritanopia (blue-blind)
#00928B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f82;
/* rgb */ color: rgb(51, 143, 130);
/* oklch */ color: oklch(59.2% 0.088 182.2);
Tailwind
colors: {
  custom: {
    50: '#76b0a6',
    500: '#338f82',
    950: '#000000',
  },
}
SCSS
$custom: #338f82;
$custom-light: #76b0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#338f82",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 130
  },
  "hsl": {
    "h": 171.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.08823,
    "h": 182.2
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#338F82
secondary
#B46A74
accent
#5164D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F82

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

Preview Lab → · Contrast checker → · Palette generator →

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