#338C7C#338C7C

#338C7C is a mid, moderate teal. Relative luminance 0.209; OKLCH L 58.3% C 0.088 H 179.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#338C7C
RGBrgb(51, 140, 124)
HSLhsl(169, 47%, 37%)
HSVhsv(169, 64%, 55%)
CMYKcmyk(63.6%, 0%, 11.4%, 45.1%)
CIE-LABlab(52.85, -30.36, 0.75)
CIE-LCHlch(52.85, 30.37, 178.59°)
OKLaboklab(58.26% -0.0877 0.0015)
OKLCHoklch(58.26% 0.088 179)
XYZxyz(14.3797, 20.9137, 22.3438)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C7C #8C3343
analogous
#338C4F #338C7C #33708C
triadic
#338C7C #7C338C #8C7C33
tetradic
#338C7C #4F338C #8C3343 #708C33
square
#338C7C #4F338C #8C3343 #708C33
split-complementary
#338C7C #8C3370 #8C4F33
monochromatic
#12322D #235F54 #338C7C #43B9A4 #6FCBBA

Accessibility & contrast

On white

4.05
#338C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#338C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C7C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C7C#FFFFFF#000000##000000
##338C7C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86847B
Deuteranopia (green-blind)
#797A7D
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338c7c;
/* rgb */ color: rgb(51, 140, 124);
/* oklch */ color: oklch(58.3% 0.088 179.0);
Tailwind
colors: {
  custom: {
    50: '#75aea1',
    500: '#338c7c',
    950: '#000000',
  },
}
SCSS
$custom: #338c7c;
$custom-light: #75aea1;
$custom-dark: #000000;
JSON
{
  "hex": "#338c7c",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 124
  },
  "hsl": {
    "h": 169.213,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.08772,
    "h": 179
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#338C7C
secondary
#B26876
accent
#5269D6
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #338C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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