#338F7E#338F7E

#338F7E is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.1% C 0.090 H 178.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#338F7E
RGBrgb(51, 143, 126)
HSLhsl(169, 47%, 38%)
HSVhsv(169, 64%, 56%)
CMYKcmyk(64.3%, 0%, 11.9%, 43.9%)
CIE-LABlab(53.87, -31.26, 1.07)
CIE-LCHlch(53.87, 31.28, 178.03°)
OKLaboklab(59.1% -0.0901 0.0024)
OKLCHoklch(59.1% 0.09 178.5)
XYZxyz(14.9518, 21.8535, 23.1648)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F7E #8F3344
analogous
#338F50 #338F7E #33728F
triadic
#338F7E #7E338F #8F7E33
tetradic
#338F7E #50338F #8F3344 #728F33
square
#338F7E #50338F #8F3344 #728F33
split-complementary
#338F7E #8F3372 #8F5033
monochromatic
#13352F #236256 #338F7E #43BCA6 #70CCBB

Accessibility & contrast

On white

3.91
#338F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#338F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F7E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F7E#FFFFFF#000000##000000
##338F7E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89877D
Deuteranopia (green-blind)
#7C7D7F
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f7e;
/* rgb */ color: rgb(51, 143, 126);
/* oklch */ color: oklch(59.1% 0.090 178.5);
Tailwind
colors: {
  custom: {
    50: '#76b0a3',
    500: '#338f7e',
    950: '#000000',
  },
}
SCSS
$custom: #338f7e;
$custom-light: #76b0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#338f7e",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 126
  },
  "hsl": {
    "h": 168.913,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.591,
    "c": 0.09012,
    "h": 178.5
  },
  "luminance": 0.21855
}

Semantic roles & 50–950 ramp

primary
#338F7E
secondary
#B46A77
accent
#516AD7
background
#F7FAFA
surface
#EEF5F3
border
#C9CFCD
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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