#338B86#338B86

#338B86 is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.3% C 0.083 H 189.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#338B86
RGBrgb(51, 139, 134)
HSLhsl(177, 46%, 37%)
HSVhsv(177, 63%, 55%)
CMYKcmyk(63.3%, 0%, 3.6%, 45.5%)
CIE-LABlab(52.83, -27.08, -5.09)
CIE-LCHlch(52.83, 27.55, 190.64°)
OKLaboklab(58.33% -0.0818 -0.0142)
OKLCHoklch(58.33% 0.083 189.9)
XYZxyz(14.8990, 20.8887, 25.7964)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B86 #8B3338
analogous
#338B5A #338B86 #33648B
triadic
#338B86 #86338B #8B8633
tetradic
#338B86 #5A338B #8B3338 #648B33
square
#338B86 #5A338B #8B3338 #648B33
split-complementary
#338B86 #8B3364 #8B5A33
monochromatic
#123130 #235E5B #338B86 #43B8B1 #6ECAC5

Accessibility & contrast

On white

4.06
#338B86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#338B86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B86
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B86#FFFFFF#000000##000000
##338B861.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#838486
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#008F89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338b86;
/* rgb */ color: rgb(51, 139, 134);
/* oklch */ color: oklch(58.3% 0.083 189.9);
Tailwind
colors: {
  custom: {
    50: '#76ada9',
    500: '#338b86',
    950: '#000000',
  },
}
SCSS
$custom: #338b86;
$custom-light: #76ada9;
$custom-dark: #000000;
JSON
{
  "hex": "#338b86",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 134
  },
  "hsl": {
    "h": 176.591,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.08306,
    "h": 189.9
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#338B86
secondary
#B2686C
accent
#5259D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338B86

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

Preview Lab → · Contrast checker → · Palette generator →

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