#338D77#338D77

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

Color values

HEX#338D77
RGBrgb(51, 141, 119)
HSLhsl(165, 47%, 38%)
HSVhsv(165, 64%, 55%)
CMYKcmyk(63.8%, 0%, 15.6%, 44.7%)
CIE-LABlab(53.04, -32.17, 3.91)
CIE-LCHlch(53.04, 32.40, 173.07°)
OKLaboklab(58.36% -0.0913 0.0099)
OKLCHoklch(58.36% 0.092 173.8)
XYZxyz(14.2183, 21.0840, 20.7695)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D77 #8D3349
analogous
#338D4A #338D77 #33768D
triadic
#338D77 #77338D #8D7733
tetradic
#338D77 #4A338D #8D3349 #768D33
square
#338D77 #4A338D #8D3349 #768D33
split-complementary
#338D77 #8D3376 #8D4A33
monochromatic
#12332B #236051 #338D77 #43BA9D #6FCBB5

Accessibility & contrast

On white

4.03
#338D77 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#338D77 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D77
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D77#FFFFFF#000000##000000
##338D771.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#888476
Deuteranopia (green-blind)
#7B7B79
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338d77;
/* rgb */ color: rgb(51, 141, 119);
/* oklch */ color: oklch(58.4% 0.092 173.8);
Tailwind
colors: {
  custom: {
    50: '#75af9e',
    500: '#338d77',
    950: '#000000',
  },
}
SCSS
$custom: #338d77;
$custom-light: #75af9e;
$custom-dark: #000000;
JSON
{
  "hex": "#338d77",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 119
  },
  "hsl": {
    "h": 165.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.09179,
    "h": 173.8
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#338D77
secondary
#B3697B
accent
#5172D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338D77

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

Preview Lab → · Contrast checker → · Palette generator →

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