#338166#338166

#338166 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.7% C 0.088 H 167.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338166
RGBrgb(51, 129, 102)
HSLhsl(159, 43%, 35%)
HSVhsv(159, 60%, 51%)
CMYKcmyk(60.5%, 0%, 20.9%, 49.4%)
CIE-LABlab(48.71, -30.83, 7.58)
CIE-LCHlch(48.71, 31.75, 166.19°)
OKLaboklab(54.69% -0.0859 0.0194)
OKLCHoklch(54.69% 0.088 167.3)
XYZxyz(11.6126, 17.3625, 15.3071)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338166 #81334E
analogous
#33813F #338166 #337581
triadic
#338166 #663381 #816633
tetradic
#338166 #3F3381 #81334E #758133
square
#338166 #3F3381 #81334E #758133
split-complementary
#338166 #813375 #813F33
monochromatic
#102921 #225543 #338166 #44AD89 #6AC4A5

Accessibility & contrast

On white

4.70
#338166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338166
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338166#FFFFFF#000000##FFFFFF
##3381661.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7965
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#038179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338166;
/* rgb */ color: rgb(51, 129, 102);
/* oklch */ color: oklch(54.7% 0.088 167.3);
Tailwind
colors: {
  custom: {
    50: '#73a691',
    500: '#338166',
    950: '#000000',
  },
}
SCSS
$custom: #338166;
$custom-light: #73a691;
$custom-dark: #000000;
JSON
{
  "hex": "#338166",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 159.231,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.08811,
    "h": 167.3
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#338166
secondary
#AC647D
accent
#5580D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338166

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

Preview Lab → · Contrast checker → · Palette generator →

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