#338A85#338A85

#338A85 is a mid, moderate teal. Relative luminance 0.206; OKLCH L 58.0% C 0.082 H 189.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#338A85
RGBrgb(51, 138, 133)
HSLhsl(177, 46%, 37%)
HSVhsv(177, 63%, 54%)
CMYKcmyk(63%, 0%, 3.6%, 45.9%)
CIE-LABlab(52.48, -26.87, -5.02)
CIE-LCHlch(52.48, 27.33, 190.59°)
OKLaboklab(58.04% -0.0812 -0.014)
OKLCHoklch(58.04% 0.082 189.8)
XYZxyz(14.6855, 20.5727, 25.3827)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A85 #8A3338
analogous
#338A5A #338A85 #33648A
triadic
#338A85 #85338A #8A8533
tetradic
#338A85 #5A338A #8A3338 #648A33
square
#338A85 #5A338A #8A3338 #648A33
split-complementary
#338A85 #8A3364 #8A5A33
monochromatic
#12312F #225D5A #338A85 #44B7B0 #6EC9C4

Accessibility & contrast

On white

4.11
#338A85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#338A85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A85
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A85#FFFFFF#000000##000000
##338A851.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#828385
Deuteranopia (green-blind)
#757986
Tritanopia (blue-blind)
#008E88
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338a85;
/* rgb */ color: rgb(51, 138, 133);
/* oklch */ color: oklch(58.0% 0.082 189.8);
Tailwind
colors: {
  custom: {
    50: '#76aca8',
    500: '#338a85',
    950: '#000000',
  },
}
SCSS
$custom: #338a85;
$custom-light: #76aca8;
$custom-dark: #000000;
JSON
{
  "hex": "#338a85",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 133
  },
  "hsl": {
    "h": 176.552,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.08239,
    "h": 189.8
  },
  "luminance": 0.20574
}

Semantic roles & 50–950 ramp

primary
#338A85
secondary
#B1676C
accent
#525AD6
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338A85

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

Preview Lab → · Contrast checker → · Palette generator →

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