#338A66#338A66

#338A66 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.1% C 0.101 H 162.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#338A66
RGBrgb(51, 138, 102)
HSLhsl(155, 46%, 37%)
HSVhsv(155, 63%, 54%)
CMYKcmyk(63%, 0%, 26.1%, 45.9%)
CIE-LABlab(51.65, -34.99, 11.73)
CIE-LCHlch(51.65, 36.90, 161.47°)
OKLaboklab(57.09% -0.0963 0.03)
OKLCHoklch(57.09% 0.101 162.7)
XYZxyz(12.8507, 19.8388, 15.7198)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A66 #8A3357
analogous
#338A3A #338A66 #33838A
triadic
#338A66 #66338A #8A6633
tetradic
#338A66 #3A338A #8A3357 #838A33
square
#338A66 #3A338A #8A3357 #838A33
split-complementary
#338A66 #8A3383 #8A3A33
monochromatic
#123124 #225D45 #338A66 #44B787 #6EC9A4

Accessibility & contrast

On white

4.23
#338A66 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#338A66 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##338A66#FFFFFF#000000##000000
##338A661.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)
#888064
Deuteranopia (green-blind)
#7C7868
Tritanopia (blue-blind)
#008A80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338a66;
/* rgb */ color: rgb(51, 138, 102);
/* oklch */ color: oklch(57.1% 0.101 162.7);
Tailwind
colors: {
  custom: {
    50: '#74ad91',
    500: '#338a66',
    950: '#000000',
  },
}
SCSS
$custom: #338a66;
$custom-light: #74ad91;
$custom-dark: #000000;
JSON
{
  "hex": "#338a66",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 102
  },
  "hsl": {
    "h": 155.172,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.10083,
    "h": 162.7
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#338A66
secondary
#B16786
accent
#5289D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338A66

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

Preview Lab → · Contrast checker → · Palette generator →

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