#338E70#338E70

#338E70 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.4% C 0.098 H 167.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#338E70
RGBrgb(51, 142, 112)
HSLhsl(160, 47%, 38%)
HSVhsv(160, 64%, 56%)
CMYKcmyk(64.1%, 0%, 21.1%, 44.3%)
CIE-LABlab(53.19, -34.41, 8.15)
CIE-LCHlch(53.19, 35.36, 166.68°)
OKLaboklab(58.42% -0.0958 0.0209)
OKLCHoklch(58.42% 0.098 167.7)
XYZxyz(13.9614, 21.2182, 18.6858)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E70 #8E3351
analogous
#338E43 #338E70 #337E8E
triadic
#338E70 #70338E #8E7033
tetradic
#338E70 #43338E #8E3351 #7E8E33
square
#338E70 #43338E #8E3351 #7E8E33
split-complementary
#338E70 #8E337E #8E4333
monochromatic
#133429 #23614C #338E70 #43BB94 #70CCAD

Accessibility & contrast

On white

4.00
#338E70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#338E70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E70
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E70#FFFFFF#000000##000000
##338E701.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B846E
Deuteranopia (green-blind)
#7E7B72
Tritanopia (blue-blind)
#008F85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e70;
/* rgb */ color: rgb(51, 142, 112);
/* oklch */ color: oklch(58.4% 0.098 167.7);
Tailwind
colors: {
  custom: {
    50: '#75b099',
    500: '#338e70',
    950: '#000000',
  },
}
SCSS
$custom: #338e70;
$custom-light: #75b099;
$custom-dark: #000000;
JSON
{
  "hex": "#338e70",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 112
  },
  "hsl": {
    "h": 160.22,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.09806,
    "h": 167.7
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#338E70
secondary
#B46982
accent
#517DD7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338E70

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

Preview Lab → · Contrast checker → · Palette generator →

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