#338E75#338E75

#338E75 is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.6% C 0.094 H 171.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#338E75
RGBrgb(51, 142, 117)
HSLhsl(164, 47%, 38%)
HSVhsv(164, 64%, 56%)
CMYKcmyk(64.1%, 0%, 17.6%, 44.3%)
CIE-LABlab(53.31, -33.15, 5.45)
CIE-LCHlch(53.31, 33.60, 170.67°)
OKLaboklab(58.57% -0.0934 0.0139)
OKLCHoklch(58.57% 0.094 171.5)
XYZxyz(14.2476, 21.3327, 20.1929)
Luminance0.2133 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E75 #8E334C
analogous
#338E47 #338E75 #337A8E
triadic
#338E75 #75338E #8E7533
tetradic
#338E75 #47338E #8E334C #7A8E33
square
#338E75 #47338E #8E334C #7A8E33
split-complementary
#338E75 #8E337A #8E4733
monochromatic
#13342B #236150 #338E75 #43BB9A #70CCB2

Accessibility & contrast

On white

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

On black

5.27
#338E75 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E75
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E75#FFFFFF#000000##000000
##338E751.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8574
Deuteranopia (green-blind)
#7D7B77
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e75;
/* rgb */ color: rgb(51, 142, 117);
/* oklch */ color: oklch(58.6% 0.094 171.5);
Tailwind
colors: {
  custom: {
    50: '#75af9c',
    500: '#338e75',
    950: '#000000',
  },
}
SCSS
$custom: #338e75;
$custom-light: #75af9c;
$custom-dark: #000000;
JSON
{
  "hex": "#338e75",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 117
  },
  "hsl": {
    "h": 163.516,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.09439,
    "h": 171.5
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#338E75
secondary
#B4697E
accent
#5176D7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E75

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

Preview Lab → · Contrast checker → · Palette generator →

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