#338E7E#338E7E

#338E7E is a mid, moderate teal. Relative luminance 0.216; OKLCH L 58.8% C 0.089 H 179.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#338E7E
RGBrgb(51, 142, 126)
HSLhsl(169, 47%, 38%)
HSVhsv(169, 64%, 56%)
CMYKcmyk(64.1%, 0%, 11.3%, 44.3%)
CIE-LABlab(53.55, -30.78, 0.61)
CIE-LCHlch(53.55, 30.79, 178.87°)
OKLaboklab(58.84% -0.089 0.0011)
OKLCHoklch(58.84% 0.089 179.3)
XYZxyz(14.8024, 21.5546, 23.1150)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E7E #8E3343
analogous
#338E51 #338E7E #33708E
triadic
#338E7E #7E338E #8E7E33
tetradic
#338E7E #51338E #8E3343 #708E33
square
#338E7E #51338E #8E3343 #708E33
split-complementary
#338E7E #8E3370 #8E5133
monochromatic
#13342E #236156 #338E7E #43BBA6 #70CCBB

Accessibility & contrast

On white

3.95
#338E7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#338E7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E7E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E7E#FFFFFF#000000##000000
##338E7E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867D
Deuteranopia (green-blind)
#7B7C7F
Tritanopia (blue-blind)
#009089
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338e7e;
/* rgb */ color: rgb(51, 142, 126);
/* oklch */ color: oklch(58.8% 0.089 179.3);
Tailwind
colors: {
  custom: {
    50: '#76afa3',
    500: '#338e7e',
    950: '#000000',
  },
}
SCSS
$custom: #338e7e;
$custom-light: #76afa3;
$custom-dark: #000000;
JSON
{
  "hex": "#338e7e",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 126
  },
  "hsl": {
    "h": 169.451,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.08899,
    "h": 179.3
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#338E7E
secondary
#B46976
accent
#5169D7
background
#F7FAFA
surface
#EEF4F3
border
#C9CECD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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