#338F81#338F81

#338F81 is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.2% C 0.089 H 181.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#338F81
RGBrgb(51, 143, 129)
HSLhsl(171, 47%, 38%)
HSVhsv(171, 64%, 56%)
CMYKcmyk(64.3%, 0%, 9.8%, 43.9%)
CIE-LABlab(53.95, -30.44, -0.54)
CIE-LCHlch(53.95, 30.45, 181.01°)
OKLaboklab(59.2% -0.0887 -0.0019)
OKLCHoklch(59.2% 0.089 181.3)
XYZxyz(15.1483, 21.9321, 24.1996)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F81 #8F3341
analogous
#338F53 #338F81 #336F8F
triadic
#338F81 #81338F #8F8133
tetradic
#338F81 #53338F #8F3341 #6F8F33
square
#338F81 #53338F #8F3341 #6F8F33
split-complementary
#338F81 #8F336F #8F5333
monochromatic
#133530 #236258 #338F81 #43BCAA #70CCBE

Accessibility & contrast

On white

3.90
#338F81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#338F81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F81
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F81#FFFFFF#000000##000000
##338F811.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#898780
Deuteranopia (green-blind)
#7B7D82
Tritanopia (blue-blind)
#00928B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f81;
/* rgb */ color: rgb(51, 143, 129);
/* oklch */ color: oklch(59.2% 0.089 181.3);
Tailwind
colors: {
  custom: {
    50: '#76b0a5',
    500: '#338f81',
    950: '#000000',
  },
}
SCSS
$custom: #338f81;
$custom-light: #76b0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#338f81",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 129
  },
  "hsl": {
    "h": 170.87,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.08867,
    "h": 181.3
  },
  "luminance": 0.21934
}

Semantic roles & 50–950 ramp

primary
#338F81
secondary
#B46A75
accent
#5165D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F81

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

Preview Lab → · Contrast checker → · Palette generator →

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