#338972#338972

#338972 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.2% C 0.090 H 172.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#338972
RGBrgb(51, 137, 114)
HSLhsl(164, 46%, 37%)
HSVhsv(164, 63%, 54%)
CMYKcmyk(62.8%, 0%, 16.8%, 46.3%)
CIE-LABlab(51.62, -31.58, 4.75)
CIE-LCHlch(51.62, 31.94, 171.44°)
OKLaboklab(57.16% -0.0892 0.0121)
OKLCHoklch(57.16% 0.09 172.3)
XYZxyz(13.3467, 19.8087, 19.0364)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338972 #89334A
analogous
#338947 #338972 #337589
triadic
#338972 #723389 #897233
tetradic
#338972 #473389 #89334A #758933
square
#338972 #473389 #89334A #758933
split-complementary
#338972 #893375 #894733
monochromatic
#123028 #225C4D #338972 #44B697 #6EC9B0

Accessibility & contrast

On white

4.23
#338972 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#338972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338972
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338972#FFFFFF#000000##000000
##3389721.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#858071
Deuteranopia (green-blind)
#787774
Tritanopia (blue-blind)
#008A82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338972;
/* rgb */ color: rgb(51, 137, 114);
/* oklch */ color: oklch(57.2% 0.090 172.3);
Tailwind
colors: {
  custom: {
    50: '#74ac9a',
    500: '#338972',
    950: '#000000',
  },
}
SCSS
$custom: #338972;
$custom-light: #74ac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338972",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 114
  },
  "hsl": {
    "h": 163.953,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57161,
    "c": 0.09001,
    "h": 172.3
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#338972
secondary
#B1677B
accent
#5275D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338972

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

Preview Lab → · Contrast checker → · Palette generator →

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