#338A71#338A71

#338A71 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.4% C 0.092 H 170.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#338A71
RGBrgb(51, 138, 113)
HSLhsl(163, 46%, 37%)
HSVhsv(163, 63%, 54%)
CMYKcmyk(63%, 0%, 18.1%, 45.9%)
CIE-LABlab(51.92, -32.31, 5.76)
CIE-LCHlch(51.92, 32.82, 169.89°)
OKLaboklab(57.4% -0.0908 0.0147)
OKLCHoklch(57.4% 0.092 170.8)
XYZxyz(13.4329, 20.0716, 18.7859)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A71 #8A334C
analogous
#338A46 #338A71 #33788A
triadic
#338A71 #71338A #8A7133
tetradic
#338A71 #46338A #8A334C #788A33
square
#338A71 #46338A #8A334C #788A33
split-complementary
#338A71 #8A3378 #8A4633
monochromatic
#123128 #225D4C #338A71 #44B796 #6EC9AF

Accessibility & contrast

On white

4.19
#338A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#338A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A71
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A71#FFFFFF#000000##000000
##338A711.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868170
Deuteranopia (green-blind)
#7A7873
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338a71;
/* rgb */ color: rgb(51, 138, 113);
/* oklch */ color: oklch(57.4% 0.092 170.8);
Tailwind
colors: {
  custom: {
    50: '#75ad99',
    500: '#338a71',
    950: '#000000',
  },
}
SCSS
$custom: #338a71;
$custom-light: #75ad99;
$custom-dark: #000000;
JSON
{
  "hex": "#338a71",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 162.759,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.09201,
    "h": 170.8
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#338A71
secondary
#B1677D
accent
#5278D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338A71

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

Preview Lab → · Contrast checker → · Palette generator →

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