#338E77#338E77

#338E77 is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.6% C 0.093 H 173.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#338E77
RGBrgb(51, 142, 119)
HSLhsl(165, 47%, 38%)
HSVhsv(165, 64%, 56%)
CMYKcmyk(64.1%, 0%, 16.2%, 44.3%)
CIE-LABlab(53.36, -32.64, 4.37)
CIE-LCHlch(53.36, 32.93, 172.37°)
OKLaboklab(58.63% -0.0924 0.0111)
OKLCHoklch(58.63% 0.093 173.2)
XYZxyz(14.3664, 21.3802, 20.8189)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E77 #8E334A
analogous
#338E49 #338E77 #33778E
triadic
#338E77 #77338E #8E7733
tetradic
#338E77 #49338E #8E334A #778E33
square
#338E77 #49338E #8E334A #778E33
split-complementary
#338E77 #8E3377 #8E4933
monochromatic
#13342C #236151 #338E77 #43BB9D #70CCB4

Accessibility & contrast

On white

3.98
#338E77 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#338E77 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E77
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E77#FFFFFF#000000##000000
##338E771.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338e77;
/* rgb */ color: rgb(51, 142, 119);
/* oklch */ color: oklch(58.6% 0.093 173.2);
Tailwind
colors: {
  custom: {
    50: '#75af9e',
    500: '#338e77',
    950: '#000000',
  },
}
SCSS
$custom: #338e77;
$custom-light: #75af9e;
$custom-dark: #000000;
JSON
{
  "hex": "#338e77",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 119
  },
  "hsl": {
    "h": 164.835,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.09304,
    "h": 173.2
  },
  "luminance": 0.21382
}

Semantic roles & 50–950 ramp

primary
#338E77
secondary
#B4697C
accent
#5173D7
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E77

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

Preview Lab → · Contrast checker → · Palette generator →

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