#338D79#338D79

#338D79 is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.4% C 0.091 H 175.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#338D79
RGBrgb(51, 141, 121)
HSLhsl(167, 47%, 38%)
HSVhsv(167, 64%, 55%)
CMYKcmyk(63.8%, 0%, 14.2%, 44.7%)
CIE-LABlab(53.09, -31.64, 2.83)
CIE-LCHlch(53.09, 31.77, 174.89°)
OKLaboklab(58.42% -0.0903 0.007)
OKLCHoklch(58.42% 0.091 175.6)
XYZxyz(14.3397, 21.1325, 21.4087)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D79 #8D3347
analogous
#338D4C #338D79 #33748D
triadic
#338D79 #79338D #8D7933
tetradic
#338D79 #4C338D #8D3347 #748D33
square
#338D79 #4C338D #8D3347 #748D33
split-complementary
#338D79 #8D3374 #8D4C33
monochromatic
#12332C #236052 #338D79 #43BAA0 #6FCBB7

Accessibility & contrast

On white

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

On black

5.23
#338D79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D79
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D79#FFFFFF#000000##000000
##338D791.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#888478
Deuteranopia (green-blind)
#7B7B7A
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338d79;
/* rgb */ color: rgb(51, 141, 121);
/* oklch */ color: oklch(58.4% 0.091 175.6);
Tailwind
colors: {
  custom: {
    50: '#75af9f',
    500: '#338d79',
    950: '#000000',
  },
}
SCSS
$custom: #338d79;
$custom-light: #75af9f;
$custom-dark: #000000;
JSON
{
  "hex": "#338d79",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 121
  },
  "hsl": {
    "h": 166.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.09055,
    "h": 175.6
  },
  "luminance": 0.21134
}

Semantic roles & 50–950 ramp

primary
#338D79
secondary
#B36979
accent
#516FD7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338D79

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

Preview Lab → · Contrast checker → · Palette generator →

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