#338170#338170

#338170 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.0% C 0.081 H 176.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#338170
RGBrgb(51, 129, 112)
HSLhsl(167, 43%, 35%)
HSVhsv(167, 60%, 51%)
CMYKcmyk(60.5%, 0%, 13.2%, 49.4%)
CIE-LABlab(48.97, -28.26, 2.10)
CIE-LCHlch(48.97, 28.34, 175.75°)
OKLaboklab(54.99% -0.081 0.0051)
OKLCHoklch(54.99% 0.081 176.4)
XYZxyz(12.1388, 17.5730, 18.0783)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338170 #813344
analogous
#338149 #338170 #336B81
triadic
#338170 #703381 #817033
tetradic
#338170 #493381 #813344 #6B8133
square
#338170 #493381 #813344 #6B8133
split-complementary
#338170 #81336B #814933
monochromatic
#102924 #22554A #338170 #44AD96 #6AC4B1

Accessibility & contrast

On white

4.65
#338170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#338170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #338170
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338170#FFFFFF#000000##FFFFFF
##3381701.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C796F
Deuteranopia (green-blind)
#717171
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338170;
/* rgb */ color: rgb(51, 129, 112);
/* oklch */ color: oklch(55.0% 0.081 176.4);
Tailwind
colors: {
  custom: {
    50: '#73a699',
    500: '#338170',
    950: '#000000',
  },
}
SCSS
$custom: #338170;
$custom-light: #73a699;
$custom-dark: #000000;
JSON
{
  "hex": "#338170",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 112
  },
  "hsl": {
    "h": 166.923,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.08114,
    "h": 176.4
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#338170
secondary
#AC6474
accent
#5570D3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0D
muted
#7B7F7E

Preview Lab

Preview with #338170

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

Preview Lab → · Contrast checker → · Palette generator →

#338170 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva