#338E72#338E72

#338E72 is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.5% C 0.097 H 169.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#338E72
RGBrgb(51, 142, 114)
HSLhsl(162, 47%, 38%)
HSVhsv(162, 64%, 56%)
CMYKcmyk(64.1%, 0%, 19.7%, 44.3%)
CIE-LABlab(53.24, -33.91, 7.07)
CIE-LCHlch(53.24, 34.64, 168.23°)
OKLaboklab(58.48% -0.0948 0.0181)
OKLCHoklch(58.48% 0.097 169.2)
XYZxyz(14.0740, 21.2632, 19.2788)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E72 #8E334F
analogous
#338E44 #338E72 #337D8E
triadic
#338E72 #72338E #8E7233
tetradic
#338E72 #44338E #8E334F #7D8E33
square
#338E72 #44338E #8E334F #7D8E33
split-complementary
#338E72 #8E337D #8E4433
monochromatic
#13342A #23614E #338E72 #43BB96 #70CCAF

Accessibility & contrast

On white

4.00
#338E72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#338E72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E72
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E72#FFFFFF#000000##000000
##338E721.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8571
Deuteranopia (green-blind)
#7D7B74
Tritanopia (blue-blind)
#008F86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e72;
/* rgb */ color: rgb(51, 142, 114);
/* oklch */ color: oklch(58.5% 0.097 169.2);
Tailwind
colors: {
  custom: {
    50: '#75af9a',
    500: '#338e72',
    950: '#000000',
  },
}
SCSS
$custom: #338e72;
$custom-light: #75af9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338e72",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 114
  },
  "hsl": {
    "h": 161.538,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.09655,
    "h": 169.2
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#338E72
secondary
#B46980
accent
#517AD7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E72

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

Preview Lab → · Contrast checker → · Palette generator →

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