#338C8D#338C8D

#338C8D is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.8% C 0.083 H 196.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#338C8D
RGBrgb(51, 140, 141)
HSLhsl(181, 47%, 38%)
HSVhsv(181, 64%, 55%)
CMYKcmyk(63.8%, 0.7%, 0%, 44.7%)
CIE-LABlab(53.36, -25.53, -8.34)
CIE-LCHlch(53.36, 26.86, 198.10°)
OKLaboklab(58.84% -0.0797 -0.0231)
OKLCHoklch(58.84% 0.083 196.2)
XYZxyz(15.5489, 21.3814, 28.5017)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C8D #8D3433
analogous
#338D61 #338C8D #335F8D
triadic
#338C8D #8D338C #8C8D33
tetradic
#338C8D #61338D #8D3433 #5F8D33
square
#338C8D #61338D #8D3433 #5F8D33
split-complementary
#338C8D #8D335F #8D6133
monochromatic
#123333 #235F60 #338C8D #43B9BA #6FCACB

Accessibility & contrast

On white

3.98
#338C8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#338C8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C8D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C8D#FFFFFF#000000##000000
##338C8D1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83858D
Deuteranopia (green-blind)
#757B8E
Tritanopia (blue-blind)
#00908C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338c8d;
/* rgb */ color: rgb(51, 140, 141);
/* oklch */ color: oklch(58.8% 0.083 196.2);
Tailwind
colors: {
  custom: {
    50: '#77aeae',
    500: '#338c8d',
    950: '#000000',
  },
}
SCSS
$custom: #338c8d;
$custom-light: #77aeae;
$custom-dark: #000000;
JSON
{
  "hex": "#338c8d",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 141
  },
  "hsl": {
    "h": 180.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.083,
    "h": 196.2
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#338C8D
secondary
#B36A69
accent
#5351D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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