#338F77#338F77

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

Color values

HEX#338F77
RGBrgb(51, 143, 119)
HSLhsl(164, 47%, 38%)
HSVhsv(164, 64%, 56%)
CMYKcmyk(64.3%, 0%, 16.8%, 43.9%)
CIE-LABlab(53.68, -33.10, 4.83)
CIE-LCHlch(53.68, 33.45, 171.69°)
OKLaboklab(58.89% -0.0935 0.0123)
OKLCHoklch(58.89% 0.094 172.5)
XYZxyz(14.5159, 21.6791, 20.8687)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F77 #8F334B
analogous
#338F49 #338F77 #33798F
triadic
#338F77 #77338F #8F7733
tetradic
#338F77 #49338F #8F334B #798F33
square
#338F77 #49338F #8F334B #798F33
split-complementary
#338F77 #8F3379 #8F4933
monochromatic
#13352C #236251 #338F77 #43BC9C #70CCB4

Accessibility & contrast

On white

3.94
#338F77 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#338F77 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F77
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F77#FFFFFF#000000##000000
##338F771.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8676
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#009088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338f77;
/* rgb */ color: rgb(51, 143, 119);
/* oklch */ color: oklch(58.9% 0.094 172.5);
Tailwind
colors: {
  custom: {
    50: '#76b09e',
    500: '#338f77',
    950: '#000000',
  },
}
SCSS
$custom: #338f77;
$custom-light: #76b09e;
$custom-dark: #000000;
JSON
{
  "hex": "#338f77",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 119
  },
  "hsl": {
    "h": 164.348,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.0943,
    "h": 172.5
  },
  "luminance": 0.21681
}

Semantic roles & 50–950 ramp

primary
#338F77
secondary
#B46A7D
accent
#5174D7
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338F77

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

Preview Lab → · Contrast checker → · Palette generator →

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