#338E68#338E68

#338E68 is a mid, moderate teal. Relative luminance 0.210; OKLCH L 58.2% C 0.105 H 162.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#338E68
RGBrgb(51, 142, 104)
HSLhsl(155, 47%, 38%)
HSVhsv(155, 64%, 56%)
CMYKcmyk(64.1%, 0%, 26.8%, 44.3%)
CIE-LABlab(53.00, -36.32, 12.46)
CIE-LCHlch(53.00, 38.40, 161.06°)
OKLaboklab(58.21% -0.0998 0.0318)
OKLCHoklch(58.21% 0.105 162.3)
XYZxyz(13.5356, 21.0479, 16.4433)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E68 #8E3359
analogous
#338E3A #338E68 #33868E
triadic
#338E68 #68338E #8E6833
tetradic
#338E68 #3A338E #8E3359 #868E33
square
#338E68 #3A338E #8E3359 #868E33
split-complementary
#338E68 #8E3386 #8E3A33
monochromatic
#133426 #236147 #338E68 #43BB89 #70CCA5

Accessibility & contrast

On white

4.03
#338E68 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#338E68 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E68
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E68#FFFFFF#000000##000000
##338E681.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8466
Deuteranopia (green-blind)
#7F7B6A
Tritanopia (blue-blind)
#008E84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e68;
/* rgb */ color: rgb(51, 142, 104);
/* oklch */ color: oklch(58.2% 0.105 162.3);
Tailwind
colors: {
  custom: {
    50: '#75b093',
    500: '#338e68',
    950: '#000000',
  },
}
SCSS
$custom: #338e68;
$custom-light: #75b093;
$custom-dark: #000000;
JSON
{
  "hex": "#338e68",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 104
  },
  "hsl": {
    "h": 154.945,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.10472,
    "h": 162.3
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#338E68
secondary
#B46988
accent
#5189D7
background
#F7FAF9
surface
#EDF5F1
border
#C8CFCB
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338E68

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

Preview Lab → · Contrast checker → · Palette generator →

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