#338B70#338B70

#338B70 is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.6% C 0.094 H 169.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#338B70
RGBrgb(51, 139, 112)
HSLhsl(162, 46%, 37%)
HSVhsv(162, 63%, 55%)
CMYKcmyk(63.3%, 0%, 19.4%, 45.5%)
CIE-LABlab(52.22, -33.03, 6.76)
CIE-LCHlch(52.22, 33.71, 168.43°)
OKLaboklab(57.63% -0.0924 0.0173)
OKLCHoklch(57.63% 0.094 169.4)
XYZxyz(13.5210, 20.3375, 18.5391)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B70 #8B334E
analogous
#338B44 #338B70 #337A8B
triadic
#338B70 #70338B #8B7033
tetradic
#338B70 #44338B #8B334E #7A8B33
square
#338B70 #44338B #8B334E #7A8B33
split-complementary
#338B70 #8B337A #8B4433
monochromatic
#123128 #235E4C #338B70 #43B894 #6ECAAE

Accessibility & contrast

On white

4.14
#338B70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#338B70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B70
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B70#FFFFFF#000000##000000
##338B701.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87826F
Deuteranopia (green-blind)
#7B7972
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338b70;
/* rgb */ color: rgb(51, 139, 112);
/* oklch */ color: oklch(57.6% 0.094 169.4);
Tailwind
colors: {
  custom: {
    50: '#75ad99',
    500: '#338b70',
    950: '#000000',
  },
}
SCSS
$custom: #338b70;
$custom-light: #75ad99;
$custom-dark: #000000;
JSON
{
  "hex": "#338b70",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 112
  },
  "hsl": {
    "h": 161.591,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.09405,
    "h": 169.4
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#338B70
secondary
#B2687F
accent
#527AD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338B70

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

Preview Lab → · Contrast checker → · Palette generator →

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