#338E7D#338E7D

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

Color values

HEX#338E7D
RGBrgb(51, 142, 125)
HSLhsl(169, 47%, 38%)
HSVhsv(169, 64%, 56%)
CMYKcmyk(64.1%, 0%, 12%, 44.3%)
CIE-LABlab(53.52, -31.05, 1.14)
CIE-LCHlch(53.52, 31.07, 177.89°)
OKLaboklab(58.81% -0.0895 0.0025)
OKLCHoklch(58.81% 0.09 178.4)
XYZxyz(14.7382, 21.5289, 22.7768)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E7D #8E3344
analogous
#338E4F #338E7D #33718E
triadic
#338E7D #7D338E #8E7D33
tetradic
#338E7D #4F338E #8E3344 #718E33
square
#338E7D #4F338E #8E3344 #718E33
split-complementary
#338E7D #8E3371 #8E4F33
monochromatic
#13342E #236155 #338E7D #43BBA5 #70CCBA

Accessibility & contrast

On white

3.96
#338E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338E7D#FFFFFF#000000##000000
##338E7D1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #338e7d;
/* rgb */ color: rgb(51, 142, 125);
/* oklch */ color: oklch(58.8% 0.089 178.4);
Tailwind
colors: {
  custom: {
    50: '#76afa2',
    500: '#338e7d',
    950: '#000000',
  },
}
SCSS
$custom: #338e7d;
$custom-light: #76afa2;
$custom-dark: #000000;
JSON
{
  "hex": "#338e7d",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 125
  },
  "hsl": {
    "h": 168.791,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.0895,
    "h": 178.4
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#338E7D
secondary
#B46977
accent
#516AD7
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #338E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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