#338478#338478

#338478 is a mid, moderate teal. Relative luminance 0.186; OKLCH L 56.0% C 0.081 H 181.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#338478
RGBrgb(51, 132, 120)
HSLhsl(171, 44%, 36%)
HSVhsv(171, 61%, 52%)
CMYKcmyk(61.4%, 0%, 9.1%, 48.2%)
CIE-LABlab(50.17, -27.57, -0.85)
CIE-LCHlch(50.17, 27.58, 181.76°)
OKLaboklab(56.04% -0.0806 -0.0027)
OKLCHoklch(56.04% 0.081 181.9)
XYZxyz(13.0051, 18.5611, 20.6629)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338478 #84333F
analogous
#33844F #338478 #336784
triadic
#338478 #783384 #847833
tetradic
#338478 #4F3384 #84333F #678433
square
#338478 #4F3384 #84333F #678433
split-complementary
#338478 #843367 #844F33
monochromatic
#112C28 #225850 #338478 #44B0A0 #6BC6B9

Accessibility & contrast

On white

4.46
#338478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#338478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338478
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338478#FFFFFF#000000##000000
##3384781.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D78
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338478;
/* rgb */ color: rgb(51, 132, 120);
/* oklch */ color: oklch(56.0% 0.081 181.9);
Tailwind
colors: {
  custom: {
    50: '#74a89e',
    500: '#338478',
    950: '#000000',
  },
}
SCSS
$custom: #338478;
$custom-light: #74a89e;
$custom-dark: #000000;
JSON
{
  "hex": "#338478",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 120
  },
  "hsl": {
    "h": 171.111,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.08061,
    "h": 181.9
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#338478
secondary
#AE6570
accent
#5467D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338478

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

Preview Lab → · Contrast checker → · Palette generator →

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