#338C8B#338C8B

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

Color values

HEX#338C8B
RGBrgb(51, 140, 139)
HSLhsl(179, 47%, 37%)
HSVhsv(179, 64%, 55%)
CMYKcmyk(63.6%, 0%, 0.7%, 45.1%)
CIE-LABlab(53.30, -26.12, -7.28)
CIE-LCHlch(53.30, 27.11, 195.58°)
OKLaboklab(58.77% -0.0806 -0.0202)
OKLCHoklch(58.77% 0.083 194.1)
XYZxyz(15.4015, 21.3224, 27.7250)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C8B #8C3334
analogous
#338C5F #338C8B #33608C
triadic
#338C8B #8B338C #8C8B33
tetradic
#338C8B #5F338C #8C3334 #608C33
square
#338C8B #5F338C #8C3334 #608C33
split-complementary
#338C8B #8C3360 #8C5F33
monochromatic
#123232 #235F5E #338C8B #43B9B8 #6FCBC9

Accessibility & contrast

On white

3.99
#338C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#338C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C8B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C8B#FFFFFF#000000##000000
##338C8B1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83858B
Deuteranopia (green-blind)
#757B8C
Tritanopia (blue-blind)
#00908B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338c8b;
/* rgb */ color: rgb(51, 140, 139);
/* oklch */ color: oklch(58.8% 0.083 194.1);
Tailwind
colors: {
  custom: {
    50: '#76aeac',
    500: '#338c8b',
    950: '#000000',
  },
}
SCSS
$custom: #338c8b;
$custom-light: #76aeac;
$custom-dark: #000000;
JSON
{
  "hex": "#338c8b",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 139
  },
  "hsl": {
    "h": 179.326,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.08313,
    "h": 194.1
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#338C8B
secondary
#B26869
accent
#5253D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #338C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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