#338F71#338F71

#338F71 is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.7% C 0.099 H 167.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#338F71
RGBrgb(51, 143, 113)
HSLhsl(160, 47%, 38%)
HSVhsv(160, 64%, 56%)
CMYKcmyk(64.3%, 0%, 21%, 43.9%)
CIE-LABlab(53.53, -34.62, 8.07)
CIE-LCHlch(53.53, 35.54, 166.88°)
OKLaboklab(58.72% -0.0964 0.0206)
OKLCHoklch(58.72% 0.099 167.9)
XYZxyz(14.1668, 21.5395, 19.0305)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F71 #8F3351
analogous
#338F43 #338F71 #337F8F
triadic
#338F71 #71338F #8F7133
tetradic
#338F71 #43338F #8F3351 #7F8F33
square
#338F71 #43338F #8F3351 #7F8F33
split-complementary
#338F71 #8F337F #8F4333
monochromatic
#13352A #23624D #338F71 #43BC95 #70CCAE

Accessibility & contrast

On white

3.96
#338F71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#338F71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F71
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F71#FFFFFF#000000##000000
##338F711.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C856F
Deuteranopia (green-blind)
#7F7C73
Tritanopia (blue-blind)
#009086
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338f71;
/* rgb */ color: rgb(51, 143, 113);
/* oklch */ color: oklch(58.7% 0.099 167.9);
Tailwind
colors: {
  custom: {
    50: '#75b099',
    500: '#338f71',
    950: '#000000',
  },
}
SCSS
$custom: #338f71;
$custom-light: #75b099;
$custom-dark: #000000;
JSON
{
  "hex": "#338f71",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 113
  },
  "hsl": {
    "h": 160.435,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.09863,
    "h": 167.9
  },
  "luminance": 0.21541
}

Semantic roles & 50–950 ramp

primary
#338F71
secondary
#B46A82
accent
#517DD7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338F71

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

Preview Lab → · Contrast checker → · Palette generator →

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