#338672#338672

#338672 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.086 H 174.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#338672
RGBrgb(51, 134, 114)
HSLhsl(166, 45%, 36%)
HSVhsv(166, 62%, 53%)
CMYKcmyk(61.9%, 0%, 14.9%, 47.5%)
CIE-LABlab(50.65, -30.15, 3.35)
CIE-LCHlch(50.65, 30.34, 173.65°)
OKLaboklab(56.37% -0.0858 0.0084)
OKLCHoklch(56.37% 0.086 174.4)
XYZxyz(12.9262, 18.9676, 18.8962)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338672 #863347
analogous
#338649 #338672 #337186
triadic
#338672 #723386 #867233
tetradic
#338672 #493386 #863347 #718633
square
#338672 #493386 #863347 #718633
split-complementary
#338672 #863371 #864933
monochromatic
#112D27 #225A4C #338672 #44B298 #6CC7B1

Accessibility & contrast

On white

4.38
#338672 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#338672 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338672
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338672#FFFFFF#000000##000000
##3386721.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E71
Deuteranopia (green-blind)
#757573
Tritanopia (blue-blind)
#008780
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338672;
/* rgb */ color: rgb(51, 134, 114);
/* oklch */ color: oklch(56.4% 0.086 174.4);
Tailwind
colors: {
  custom: {
    50: '#74aa9a',
    500: '#338672',
    950: '#000000',
  },
}
SCSS
$custom: #338672;
$custom-light: #74aa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338672",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 114
  },
  "hsl": {
    "h": 165.542,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.08619,
    "h": 174.4
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

primary
#338672
secondary
#AF6677
accent
#5372D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338672

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

Preview Lab → · Contrast checker → · Palette generator →

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