#338F7C#338F7C

#338F7C is a mid, moderate teal. Relative luminance 0.218; OKLCH L 59.0% C 0.091 H 176.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#338F7C
RGBrgb(51, 143, 124)
HSLhsl(168, 47%, 38%)
HSVhsv(168, 64%, 56%)
CMYKcmyk(64.3%, 0%, 13.3%, 43.9%)
CIE-LABlab(53.82, -31.79, 2.15)
CIE-LCHlch(53.82, 31.87, 176.14°)
OKLaboklab(59.04% -0.0911 0.0052)
OKLCHoklch(59.04% 0.091 176.7)
XYZxyz(14.8241, 21.8024, 22.4919)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F7C #8F3346
analogous
#338F4E #338F7C #33748F
triadic
#338F7C #7C338F #8F7C33
tetradic
#338F7C #4E338F #8F3346 #748F33
square
#338F7C #4E338F #8F3346 #748F33
split-complementary
#338F7C #8F3374 #8F4E33
monochromatic
#13352E #236255 #338F7C #43BCA3 #70CCB9

Accessibility & contrast

On white

3.92
#338F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#338F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F7C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F7C#FFFFFF#000000##000000
##338F7C1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A867B
Deuteranopia (green-blind)
#7C7D7D
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f7c;
/* rgb */ color: rgb(51, 143, 124);
/* oklch */ color: oklch(59.0% 0.091 176.7);
Tailwind
colors: {
  custom: {
    50: '#76b0a1',
    500: '#338f7c',
    950: '#000000',
  },
}
SCSS
$custom: #338f7c;
$custom-light: #76b0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#338f7c",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 124
  },
  "hsl": {
    "h": 167.609,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.09121,
    "h": 176.7
  },
  "luminance": 0.21804
}

Semantic roles & 50–950 ramp

primary
#338F7C
secondary
#B46A79
accent
#516CD7
background
#F7FAF9
surface
#EEF5F2
border
#C9CFCC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #338F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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