#338E76#338E76

#338E76 is a mid, moderate teal. Relative luminance 0.214; OKLCH L 58.6% C 0.094 H 172.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#338E76
RGBrgb(51, 142, 118)
HSLhsl(164, 47%, 38%)
HSVhsv(164, 64%, 56%)
CMYKcmyk(64.1%, 0%, 16.9%, 44.3%)
CIE-LABlab(53.34, -32.89, 4.91)
CIE-LCHlch(53.34, 33.26, 171.51°)
OKLaboklab(58.6% -0.0929 0.0125)
OKLCHoklch(58.6% 0.094 172.4)
XYZxyz(14.3067, 21.3563, 20.5042)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E76 #8E334B
analogous
#338E49 #338E76 #33788E
triadic
#338E76 #76338E #8E7633
tetradic
#338E76 #49338E #8E334B #788E33
square
#338E76 #49338E #8E334B #788E33
split-complementary
#338E76 #8E3378 #8E4933
monochromatic
#13342B #236151 #338E76 #43BB9B #70CCB3

Accessibility & contrast

On white

3.98
#338E76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#338E76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E76
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E76#FFFFFF#000000##000000
##338E761.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8575
Deuteranopia (green-blind)
#7D7B78
Tritanopia (blue-blind)
#008F87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e76;
/* rgb */ color: rgb(51, 142, 118);
/* oklch */ color: oklch(58.6% 0.094 172.4);
Tailwind
colors: {
  custom: {
    50: '#75af9d',
    500: '#338e76',
    950: '#000000',
  },
}
SCSS
$custom: #338e76;
$custom-light: #75af9d;
$custom-dark: #000000;
JSON
{
  "hex": "#338e76",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 118
  },
  "hsl": {
    "h": 164.176,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.0937,
    "h": 172.4
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#338E76
secondary
#B4697D
accent
#5174D7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E76

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

Preview Lab → · Contrast checker → · Palette generator →

#338E76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva