#338976#338976

#338976 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.087 H 175.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#338976
RGBrgb(51, 137, 118)
HSLhsl(167, 46%, 37%)
HSVhsv(167, 63%, 54%)
CMYKcmyk(62.8%, 0%, 13.9%, 46.3%)
CIE-LABlab(51.73, -30.53, 2.59)
CIE-LCHlch(51.73, 30.64, 175.16°)
OKLaboklab(57.28% -0.0872 0.0064)
OKLCHoklch(57.28% 0.087 175.8)
XYZxyz(13.5794, 19.9017, 20.2618)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338976 #893346
analogous
#33894B #338976 #337189
triadic
#338976 #763389 #897633
tetradic
#338976 #4B3389 #893346 #718933
square
#338976 #4B3389 #893346 #718933
split-complementary
#338976 #893371 #894B33
monochromatic
#123029 #225C50 #338976 #44B69C #6EC9B5

Accessibility & contrast

On white

4.22
#338976 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#338976 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338976
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338976#FFFFFF#000000##000000
##3389761.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848175
Deuteranopia (green-blind)
#787777
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338976;
/* rgb */ color: rgb(51, 137, 118);
/* oklch */ color: oklch(57.3% 0.087 175.8);
Tailwind
colors: {
  custom: {
    50: '#75ac9d',
    500: '#338976',
    950: '#000000',
  },
}
SCSS
$custom: #338976;
$custom-light: #75ac9d;
$custom-dark: #000000;
JSON
{
  "hex": "#338976",
  "rgb": {
    "r": 51,
    "g": 137,
    "b": 118
  },
  "hsl": {
    "h": 166.744,
    "s": 45.745,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57282,
    "c": 0.08747,
    "h": 175.8
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#338976
secondary
#B16777
accent
#526FD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338976

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

Preview Lab → · Contrast checker → · Palette generator →

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