#338B76#338B76

#338B76 is a mid, moderate teal. Relative luminance 0.205; OKLCH L 57.8% C 0.090 H 174.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#338B76
RGBrgb(51, 139, 118)
HSLhsl(166, 46%, 37%)
HSVhsv(166, 63%, 55%)
CMYKcmyk(63.3%, 0%, 15.1%, 45.5%)
CIE-LABlab(52.37, -31.49, 3.52)
CIE-LCHlch(52.37, 31.68, 173.62°)
OKLaboklab(57.81% -0.0895 0.0088)
OKLCHoklch(57.81% 0.09 174.4)
XYZxyz(13.8663, 20.4756, 20.3574)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B76 #8B3348
analogous
#338B4A #338B76 #33748B
triadic
#338B76 #76338B #8B7633
tetradic
#338B76 #4A338B #8B3348 #748B33
square
#338B76 #4A338B #8B3348 #748B33
split-complementary
#338B76 #8B3374 #8B4A33
monochromatic
#12312A #235E50 #338B76 #43B89C #6ECAB4

Accessibility & contrast

On white

4.12
#338B76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#338B76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B76
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B76#FFFFFF#000000##000000
##338B761.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#868275
Deuteranopia (green-blind)
#7A7978
Tritanopia (blue-blind)
#008D85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338b76;
/* rgb */ color: rgb(51, 139, 118);
/* oklch */ color: oklch(57.8% 0.090 174.4);
Tailwind
colors: {
  custom: {
    50: '#75ad9d',
    500: '#338b76',
    950: '#000000',
  },
}
SCSS
$custom: #338b76;
$custom-light: #75ad9d;
$custom-dark: #000000;
JSON
{
  "hex": "#338b76",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 118
  },
  "hsl": {
    "h": 165.682,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57807,
    "c": 0.08993,
    "h": 174.4
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#338B76
secondary
#B2687A
accent
#5271D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338B76

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

Preview Lab → · Contrast checker → · Palette generator →

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