#338164#338164

#338164 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.090 H 165.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338164
RGBrgb(51, 129, 100)
HSLhsl(158, 43%, 35%)
HSVhsv(158, 60%, 51%)
CMYKcmyk(60.5%, 0%, 22.5%, 49.4%)
CIE-LABlab(48.66, -31.32, 8.68)
CIE-LCHlch(48.66, 32.50, 164.51°)
OKLaboklab(54.64% -0.0869 0.0222)
OKLCHoklch(54.64% 0.09 165.7)
XYZxyz(11.5146, 17.3233, 14.7910)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338164 #813350
analogous
#33813D #338164 #337781
triadic
#338164 #643381 #816433
tetradic
#338164 #3D3381 #813350 #778133
square
#338164 #3D3381 #813350 #778133
split-complementary
#338164 #813377 #813D33
monochromatic
#102920 #225542 #338164 #44AD86 #6AC4A3

Accessibility & contrast

On white

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

On black

4.46
#338164 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##338164#FFFFFF#000000##FFFFFF
##3381641.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7862
Deuteranopia (green-blind)
#737066
Tritanopia (blue-blind)
#068179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338164;
/* rgb */ color: rgb(51, 129, 100);
/* oklch */ color: oklch(54.6% 0.090 165.7);
Tailwind
colors: {
  custom: {
    50: '#73a690',
    500: '#338164',
    950: '#000000',
  },
}
SCSS
$custom: #338164;
$custom-light: #73a690;
$custom-dark: #000000;
JSON
{
  "hex": "#338164",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 100
  },
  "hsl": {
    "h": 157.692,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.08974,
    "h": 165.7
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#338164
secondary
#AC647F
accent
#5584D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338164

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

Preview Lab → · Contrast checker → · Palette generator →

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