#338A97#338A97

#338A97 is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.7% C 0.084 H 209.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#338A97
RGBrgb(51, 138, 151)
HSLhsl(188, 50%, 40%)
HSVhsv(188, 66%, 59%)
CMYKcmyk(66.2%, 8.6%, 0%, 40.8%)
CIE-LABlab(53.07, -21.44, -14.57)
CIE-LCHlch(53.07, 25.92, 214.20°)
OKLaboklab(58.72% -0.0731 -0.0404)
OKLCHoklch(58.72% 0.084 209)
XYZxyz(16.0373, 21.1134, 32.5023)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A97 #974033
analogous
#339772 #338A97 #335897
triadic
#338A97 #97338A #8A9733
tetradic
#338A97 #723397 #974033 #589733
square
#338A97 #723397 #974033 #589733
split-complementary
#338A97 #973358 #977233
monochromatic
#14363C #246069 #338A97 #47B1C1 #74C4D0

Accessibility & contrast

On white

4.02
#338A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#338A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A97
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A97#FFFFFF#000000##000000
##338A971.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8598
Deuteranopia (green-blind)
#6F7A97
Tritanopia (blue-blind)
#00908E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338a97;
/* rgb */ color: rgb(51, 138, 151);
/* oklch */ color: oklch(58.7% 0.084 209.0);
Tailwind
colors: {
  custom: {
    50: '#77acb5',
    500: '#338a97',
    950: '#000000',
  },
}
SCSS
$custom: #338a97;
$custom-light: #77acb5;
$custom-dark: #000000;
JSON
{
  "hex": "#338a97",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 151
  },
  "hsl": {
    "h": 187.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.08353,
    "h": 209
  },
  "luminance": 0.21115
}

Semantic roles & 50–950 ramp

primary
#338A97
secondary
#B8776D
accent
#614FD9
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #338A97

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

Preview Lab → · Contrast checker → · Palette generator →

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