#338C97#338C97

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

Color values

HEX#338C97
RGBrgb(51, 140, 151)
HSLhsl(187, 50%, 40%)
HSVhsv(187, 66%, 59%)
CMYKcmyk(66.2%, 7.3%, 0%, 40.8%)
CIE-LABlab(53.70, -22.48, -13.63)
CIE-LCHlch(53.70, 26.29, 211.22°)
OKLaboklab(59.22% -0.0753 -0.0378)
OKLCHoklch(59.22% 0.084 206.7)
XYZxyz(16.3269, 21.6926, 32.5988)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C97 #973E33
analogous
#339770 #338C97 #335A97
triadic
#338C97 #97338C #8C9733
tetradic
#338C97 #703397 #973E33 #5A9733
square
#338C97 #703397 #973E33 #5A9733
split-complementary
#338C97 #97335A #977033
monochromatic
#14373C #246269 #338C97 #47B3C1 #74C6D0

Accessibility & contrast

On white

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

On black

5.34
#338C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C97
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C97#FFFFFF#000000##000000
##338C971.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#808798
Deuteranopia (green-blind)
#727C97
Tritanopia (blue-blind)
#00928F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338c97;
/* rgb */ color: rgb(51, 140, 151);
/* oklch */ color: oklch(59.2% 0.084 206.7);
Tailwind
colors: {
  custom: {
    50: '#78aeb5',
    500: '#338c97',
    950: '#000000',
  },
}
SCSS
$custom: #338c97;
$custom-light: #78aeb5;
$custom-dark: #000000;
JSON
{
  "hex": "#338c97",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 151
  },
  "hsl": {
    "h": 186.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.08421,
    "h": 206.7
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#338C97
secondary
#B8766D
accent
#5E4FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338C97

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

Preview Lab → · Contrast checker → · Palette generator →

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