#338C76#338C76

#338C76 is a mid, moderate teal. Relative luminance 0.208; OKLCH L 58.1% C 0.091 H 173.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#338C76
RGBrgb(51, 140, 118)
HSLhsl(165, 47%, 37%)
HSVhsv(165, 64%, 55%)
CMYKcmyk(63.6%, 0%, 15.7%, 45.1%)
CIE-LABlab(52.69, -31.96, 3.98)
CIE-LCHlch(52.69, 32.21, 172.90°)
OKLaboklab(58.07% -0.0906 0.0101)
OKLCHoklch(58.07% 0.091 173.7)
XYZxyz(14.0118, 20.7665, 20.4059)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C76 #8C3349
analogous
#338C4A #338C76 #33758C
triadic
#338C76 #76338C #8C7633
tetradic
#338C76 #4A338C #8C3349 #758C33
square
#338C76 #4A338C #8C3349 #758C33
split-complementary
#338C76 #8C3375 #8C4A33
monochromatic
#12322A #235F50 #338C76 #43B99C #6FCBB4

Accessibility & contrast

On white

4.07
#338C76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#338C76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C76
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C76#FFFFFF#000000##000000
##338C761.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878375
Deuteranopia (green-blind)
#7B7A78
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338c76;
/* rgb */ color: rgb(51, 140, 118);
/* oklch */ color: oklch(58.1% 0.091 173.7);
Tailwind
colors: {
  custom: {
    50: '#75ae9d',
    500: '#338c76',
    950: '#000000',
  },
}
SCSS
$custom: #338c76;
$custom-light: #75ae9d;
$custom-dark: #000000;
JSON
{
  "hex": "#338c76",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 118
  },
  "hsl": {
    "h": 165.169,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.09119,
    "h": 173.7
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#338C76
secondary
#B2687B
accent
#5272D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338C76

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

Preview Lab → · Contrast checker → · Palette generator →

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