#338F79#338F79

#338F79 is a mid, moderate teal. Relative luminance 0.217; OKLCH L 58.9% C 0.093 H 174.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#338F79
RGBrgb(51, 143, 121)
HSLhsl(166, 47%, 38%)
HSVhsv(166, 64%, 56%)
CMYKcmyk(64.3%, 0%, 15.4%, 43.9%)
CIE-LABlab(53.74, -32.58, 3.76)
CIE-LCHlch(53.74, 32.80, 173.42°)
OKLaboklab(58.95% -0.0925 0.0095)
OKLCHoklch(58.95% 0.093 174.2)
XYZxyz(14.6372, 21.7277, 21.5079)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F79 #8F3349
analogous
#338F4B #338F79 #33778F
triadic
#338F79 #79338F #8F7933
tetradic
#338F79 #4B338F #8F3349 #778F33
square
#338F79 #4B338F #8F3349 #778F33
split-complementary
#338F79 #8F3377 #8F4B33
monochromatic
#13352D #236253 #338F79 #43BC9F #70CCB6

Accessibility & contrast

On white

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

On black

5.35
#338F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F79
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F79#FFFFFF#000000##000000
##338F791.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8678
Deuteranopia (green-blind)
#7D7C7B
Tritanopia (blue-blind)
#009188
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338f79;
/* rgb */ color: rgb(51, 143, 121);
/* oklch */ color: oklch(58.9% 0.093 174.2);
Tailwind
colors: {
  custom: {
    50: '#76b09f',
    500: '#338f79',
    950: '#000000',
  },
}
SCSS
$custom: #338f79;
$custom-light: #76b09f;
$custom-dark: #000000;
JSON
{
  "hex": "#338f79",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 121
  },
  "hsl": {
    "h": 165.652,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58947,
    "c": 0.093,
    "h": 174.2
  },
  "luminance": 0.21729
}

Semantic roles & 50–950 ramp

primary
#338F79
secondary
#B46A7B
accent
#5171D7
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338F79

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

Preview Lab → · Contrast checker → · Palette generator →

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