#338E80#338E80

#338E80 is a mid, moderate teal. Relative luminance 0.216; OKLCH L 58.9% C 0.088 H 181.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#338E80
RGBrgb(51, 142, 128)
HSLhsl(171, 47%, 38%)
HSVhsv(171, 64%, 56%)
CMYKcmyk(64.1%, 0%, 9.9%, 44.3%)
CIE-LABlab(53.61, -30.23, -0.47)
CIE-LCHlch(53.61, 30.24, 180.88°)
OKLaboklab(58.9% -0.088 -0.0017)
OKLCHoklch(58.9% 0.088 181.1)
XYZxyz(14.9327, 21.6067, 23.8014)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E80 #8E3341
analogous
#338E52 #338E80 #336E8E
triadic
#338E80 #80338E #8E8033
tetradic
#338E80 #52338E #8E3341 #6E8E33
square
#338E80 #52338E #8E3341 #6E8E33
split-complementary
#338E80 #8E336E #8E5233
monochromatic
#13342F #236157 #338E80 #43BBA9 #70CCBD

Accessibility & contrast

On white

3.95
#338E80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#338E80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E80
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E80#FFFFFF#000000##000000
##338E801.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88867F
Deuteranopia (green-blind)
#7A7C81
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338e80;
/* rgb */ color: rgb(51, 142, 128);
/* oklch */ color: oklch(58.9% 0.088 181.1);
Tailwind
colors: {
  custom: {
    50: '#76afa4',
    500: '#338e80',
    950: '#000000',
  },
}
SCSS
$custom: #338e80;
$custom-light: #76afa4;
$custom-dark: #000000;
JSON
{
  "hex": "#338e80",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 128
  },
  "hsl": {
    "h": 170.769,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58904,
    "c": 0.08804,
    "h": 181.1
  },
  "luminance": 0.21608
}

Semantic roles & 50–950 ramp

primary
#338E80
secondary
#B46975
accent
#5166D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338E80

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

Preview Lab → · Contrast checker → · Palette generator →

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