#338E71#338E71

#338E71 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.5% C 0.097 H 168.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#338E71
RGBrgb(51, 142, 113)
HSLhsl(161, 47%, 38%)
HSVhsv(161, 64%, 56%)
CMYKcmyk(64.1%, 0%, 20.4%, 44.3%)
CIE-LABlab(53.21, -34.16, 7.61)
CIE-LCHlch(53.21, 35.00, 167.45°)
OKLaboklab(58.45% -0.0953 0.0195)
OKLCHoklch(58.45% 0.097 168.5)
XYZxyz(14.0174, 21.2406, 18.9807)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E71 #8E3350
analogous
#338E43 #338E71 #337D8E
triadic
#338E71 #71338E #8E7133
tetradic
#338E71 #43338E #8E3350 #7D8E33
square
#338E71 #43338E #8E3350 #7D8E33
split-complementary
#338E71 #8E337D #8E4333
monochromatic
#133429 #23614D #338E71 #43BB95 #70CCAE

Accessibility & contrast

On white

4.00
#338E71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#338E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E71
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E71#FFFFFF#000000##000000
##338E711.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8570
Deuteranopia (green-blind)
#7E7B73
Tritanopia (blue-blind)
#008F86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e71;
/* rgb */ color: rgb(51, 142, 113);
/* oklch */ color: oklch(58.5% 0.097 168.5);
Tailwind
colors: {
  custom: {
    50: '#75b099',
    500: '#338e71',
    950: '#000000',
  },
}
SCSS
$custom: #338e71;
$custom-light: #75b099;
$custom-dark: #000000;
JSON
{
  "hex": "#338e71",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 113
  },
  "hsl": {
    "h": 160.879,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.0973,
    "h": 168.5
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#338E71
secondary
#B46981
accent
#517CD7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338E71

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

Preview Lab → · Contrast checker → · Palette generator →

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