#338A72#338A72

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

Color values

HEX#338A72
RGBrgb(51, 138, 114)
HSLhsl(163, 46%, 37%)
HSVhsv(163, 63%, 54%)
CMYKcmyk(63%, 0%, 17.4%, 45.9%)
CIE-LABlab(51.94, -32.05, 5.22)
CIE-LCHlch(51.94, 32.47, 170.75°)
OKLaboklab(57.43% -0.0903 0.0133)
OKLCHoklch(57.43% 0.091 171.6)
XYZxyz(13.4895, 20.0943, 19.0840)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A72 #8A334B
analogous
#338A46 #338A72 #33778A
triadic
#338A72 #72338A #8A7233
tetradic
#338A72 #46338A #8A334B #778A33
square
#338A72 #46338A #8A334B #778A33
split-complementary
#338A72 #8A3377 #8A4633
monochromatic
#123128 #225D4D #338A72 #44B797 #6EC9B0

Accessibility & contrast

On white

4.18
#338A72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#338A72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A72
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A72#FFFFFF#000000##000000
##338A721.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338a72;
/* rgb */ color: rgb(51, 138, 114);
/* oklch */ color: oklch(57.4% 0.091 171.6);
Tailwind
colors: {
  custom: {
    50: '#75ad9a',
    500: '#338a72',
    950: '#000000',
  },
}
SCSS
$custom: #338a72;
$custom-light: #75ad9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338a72",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 114
  },
  "hsl": {
    "h": 163.448,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.0913,
    "h": 171.6
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#338A72
secondary
#B1677C
accent
#5276D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338A72

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

Preview Lab → · Contrast checker → · Palette generator →

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