#338B80#338B80

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

Color values

HEX#338B80
RGBrgb(51, 139, 128)
HSLhsl(173, 46%, 37%)
HSVhsv(173, 63%, 55%)
CMYKcmyk(63.3%, 0%, 7.9%, 45.5%)
CIE-LABlab(52.65, -28.78, -1.87)
CIE-LCHlch(52.65, 28.84, 183.72°)
OKLaboklab(58.13% -0.0847 -0.0055)
OKLCHoklch(58.13% 0.085 183.7)
XYZxyz(14.4924, 20.7260, 23.6546)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B80 #8B333E
analogous
#338B54 #338B80 #336A8B
triadic
#338B80 #80338B #8B8033
tetradic
#338B80 #54338B #8B333E #6A8B33
square
#338B80 #54338B #8B333E #6A8B33
split-complementary
#338B80 #8B336A #8B5433
monochromatic
#12312E #235E57 #338B80 #43B8A9 #6ECABF

Accessibility & contrast

On white

4.08
#338B80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##338B80#FFFFFF#000000##000000
##338B801.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#848380
Deuteranopia (green-blind)
#777A81
Tritanopia (blue-blind)
#008E88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #338b80;
/* rgb */ color: rgb(51, 139, 128);
/* oklch */ color: oklch(58.1% 0.085 183.7);
Tailwind
colors: {
  custom: {
    50: '#75ada4',
    500: '#338b80',
    950: '#000000',
  },
}
SCSS
$custom: #338b80;
$custom-light: #75ada4;
$custom-dark: #000000;
JSON
{
  "hex": "#338b80",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 128
  },
  "hsl": {
    "h": 172.5,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.08485,
    "h": 183.7
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#338B80
secondary
#B26871
accent
#5262D6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338B80

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

Preview Lab → · Contrast checker → · Palette generator →

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