#338B71#338B71

#338B71 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.7% C 0.093 H 170.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#338B71
RGBrgb(51, 139, 113)
HSLhsl(162, 46%, 37%)
HSVhsv(162, 63%, 55%)
CMYKcmyk(63.3%, 0%, 18.7%, 45.5%)
CIE-LABlab(52.24, -32.77, 6.22)
CIE-LCHlch(52.24, 33.36, 169.25°)
OKLaboklab(57.66% -0.092 0.0159)
OKLCHoklch(57.66% 0.093 170.2)
XYZxyz(13.5770, 20.3599, 18.8339)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B71 #8B334D
analogous
#338B45 #338B71 #33798B
triadic
#338B71 #71338B #8B7133
tetradic
#338B71 #45338B #8B334D #798B33
square
#338B71 #45338B #8B334D #798B33
split-complementary
#338B71 #8B3379 #8B4533
monochromatic
#123128 #235E4D #338B71 #43B895 #6ECAAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338B71#FFFFFF#000000##000000
##338B711.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)
#878270
Deuteranopia (green-blind)
#7B7973
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338b71;
/* rgb */ color: rgb(51, 139, 113);
/* oklch */ color: oklch(57.7% 0.093 170.2);
Tailwind
colors: {
  custom: {
    50: '#75ad99',
    500: '#338b71',
    950: '#000000',
  },
}
SCSS
$custom: #338b71;
$custom-light: #75ad99;
$custom-dark: #000000;
JSON
{
  "hex": "#338b71",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 113
  },
  "hsl": {
    "h": 162.273,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.09332,
    "h": 170.2
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#338B71
secondary
#B2687E
accent
#5279D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338B71

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

Preview Lab → · Contrast checker → · Palette generator →

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