#338E79#338E79

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

Color values

HEX#338E79
RGBrgb(51, 142, 121)
HSLhsl(166, 47%, 38%)
HSVhsv(166, 64%, 56%)
CMYKcmyk(64.1%, 0%, 14.8%, 44.3%)
CIE-LABlab(53.42, -32.12, 3.29)
CIE-LCHlch(53.42, 32.28, 174.14°)
OKLaboklab(58.68% -0.0914 0.0082)
OKLCHoklch(58.68% 0.092 174.9)
XYZxyz(14.4878, 21.4288, 21.4581)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E79 #8E3348
analogous
#338E4C #338E79 #33758E
triadic
#338E79 #79338E #8E7933
tetradic
#338E79 #4C338E #8E3348 #758E33
square
#338E79 #4C338E #8E3348 #758E33
split-complementary
#338E79 #8E3375 #8E4C33
monochromatic
#13342C #236153 #338E79 #43BB9F #70CCB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E79#FFFFFF#000000##000000
##338E791.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)
#898578
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338e79;
/* rgb */ color: rgb(51, 142, 121);
/* oklch */ color: oklch(58.7% 0.092 174.9);
Tailwind
colors: {
  custom: {
    50: '#75af9f',
    500: '#338e79',
    950: '#000000',
  },
}
SCSS
$custom: #338e79;
$custom-light: #75af9f;
$custom-dark: #000000;
JSON
{
  "hex": "#338e79",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 121
  },
  "hsl": {
    "h": 166.154,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.09177,
    "h": 174.9
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#338E79
secondary
#B4697A
accent
#5170D7
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E79

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

Preview Lab → · Contrast checker → · Palette generator →

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