#338C8F#338C8F

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

Color values

HEX#338C8F
RGBrgb(51, 140, 143)
HSLhsl(182, 47%, 38%)
HSVhsv(182, 64%, 56%)
CMYKcmyk(64.3%, 2.1%, 0%, 43.9%)
CIE-LABlab(53.43, -24.93, -9.41)
CIE-LCHlch(53.43, 26.64, 200.67°)
OKLaboklab(58.91% -0.0788 -0.0261)
OKLCHoklch(58.91% 0.083 198.3)
XYZxyz(15.6991, 21.4414, 29.2925)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C8F #8F3633
analogous
#338F64 #338C8F #335E8F
triadic
#338C8F #8F338C #8C8F33
tetradic
#338C8F #64338F #8F3633 #5E8F33
square
#338C8F #64338F #8F3633 #5E8F33
split-complementary
#338C8F #8F335E #8F6433
monochromatic
#133435 #236062 #338C8F #43B8BC #70C9CC

Accessibility & contrast

On white

3.97
#338C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#338C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C8F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C8F#FFFFFF#000000##000000
##338C8F1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82868F
Deuteranopia (green-blind)
#747B90
Tritanopia (blue-blind)
#00918D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338c8f;
/* rgb */ color: rgb(51, 140, 143);
/* oklch */ color: oklch(58.9% 0.083 198.3);
Tailwind
colors: {
  custom: {
    50: '#77aeaf',
    500: '#338c8f',
    950: '#000000',
  },
}
SCSS
$custom: #338c8f;
$custom-light: #77aeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#338c8f",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 143
  },
  "hsl": {
    "h": 181.957,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.08301,
    "h": 198.3
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#338C8F
secondary
#B46C6A
accent
#5551D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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