#338973#338973

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

Color values

HEX#338973
RGBrgb(51, 137, 115)
HSLhsl(165, 46%, 37%)
HSVhsv(165, 63%, 54%)
CMYKcmyk(62.8%, 0%, 16.1%, 46.3%)
CIE-LABlab(51.65, -31.32, 4.21)
CIE-LCHlch(51.65, 31.60, 172.34°)
OKLaboklab(57.19% -0.0887 0.0107)
OKLCHoklch(57.19% 0.089 173.1)
XYZxyz(13.4039, 19.8315, 19.3378)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338973 #893349
analogous
#338948 #338973 #337489
triadic
#338973 #733389 #897333
tetradic
#338973 #483389 #893349 #748933
square
#338973 #483389 #893349 #748933
split-complementary
#338973 #893374 #894833
monochromatic
#123028 #225C4E #338973 #44B698 #6EC9B1

Accessibility & contrast

On white

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

On black

4.97
#338973 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338973
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338973#FFFFFF#000000##000000
##3389731.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858072
Deuteranopia (green-blind)
#787775
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338973;
/* rgb */ color: rgb(51, 137, 115);
/* oklch */ color: oklch(57.2% 0.089 173.1);
Tailwind
colors: {
  custom: {
    50: '#74ac9b',
    500: '#338973',
    950: '#000000',
  },
}
SCSS
$custom: #338973;
$custom-light: #74ac9b;
$custom-dark: #000000;
JSON
{
  "hex": "#338973",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 115
  },
  "hsl": {
    "h": 164.651,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57191,
    "c": 0.08935,
    "h": 173.1
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#338973
secondary
#B1677A
accent
#5274D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338973

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

Preview Lab → · Contrast checker → · Palette generator →

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