#338D8F#338D8F

#338D8F is a mid, moderate teal. Relative luminance 0.217; OKLCH L 59.2% C 0.084 H 197.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#338D8F
RGBrgb(51, 141, 143)
HSLhsl(181, 47%, 38%)
HSVhsv(181, 64%, 56%)
CMYKcmyk(64.3%, 1.4%, 0%, 43.9%)
CIE-LABlab(53.74, -25.44, -8.93)
CIE-LCHlch(53.74, 26.96, 199.35°)
OKLaboklab(59.17% -0.0799 -0.0248)
OKLCHoklch(59.17% 0.084 197.2)
XYZxyz(15.8459, 21.7350, 29.3414)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D8F #8F3533
analogous
#338F63 #338D8F #335F8F
triadic
#338D8F #8F338D #8D8F33
tetradic
#338D8F #63338F #8F3533 #5F8F33
square
#338D8F #63338F #8F3533 #5F8F33
split-complementary
#338D8F #8F335F #8F6333
monochromatic
#133435 #236162 #338D8F #43B9BC #70CACC

Accessibility & contrast

On white

3.93
#338D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#338D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D8F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D8F#FFFFFF#000000##000000
##338D8F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84878F
Deuteranopia (green-blind)
#757C90
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338d8f;
/* rgb */ color: rgb(51, 141, 143);
/* oklch */ color: oklch(59.2% 0.084 197.2);
Tailwind
colors: {
  custom: {
    50: '#77aeaf',
    500: '#338d8f',
    950: '#000000',
  },
}
SCSS
$custom: #338d8f;
$custom-light: #77aeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#338d8f",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 143
  },
  "hsl": {
    "h": 181.304,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.08366,
    "h": 197.2
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#338D8F
secondary
#B46B6A
accent
#5451D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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