#338B72#338B72

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

Color values

HEX#338B72
RGBrgb(51, 139, 114)
HSLhsl(163, 46%, 37%)
HSVhsv(163, 63%, 55%)
CMYKcmyk(63.3%, 0%, 18%, 45.5%)
CIE-LABlab(52.27, -32.52, 5.68)
CIE-LCHlch(52.27, 33.01, 170.09°)
OKLaboklab(57.69% -0.0915 0.0145)
OKLCHoklch(57.69% 0.093 171)
XYZxyz(13.6336, 20.3825, 19.1320)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B72 #8B334C
analogous
#338B46 #338B72 #33788B
triadic
#338B72 #72338B #8B7233
tetradic
#338B72 #46338B #8B334C #788B33
square
#338B72 #46338B #8B334C #788B33
split-complementary
#338B72 #8B3378 #8B4633
monochromatic
#123129 #235E4D #338B72 #43B897 #6ECAB0

Accessibility & contrast

On white

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

On black

5.08
#338B72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B72
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B72#FFFFFF#000000##000000
##338B721.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878271
Deuteranopia (green-blind)
#7A7974
Tritanopia (blue-blind)
#008C84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338b72;
/* rgb */ color: rgb(51, 139, 114);
/* oklch */ color: oklch(57.7% 0.093 171.0);
Tailwind
colors: {
  custom: {
    50: '#75ad9a',
    500: '#338b72',
    950: '#000000',
  },
}
SCSS
$custom: #338b72;
$custom-light: #75ad9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338b72",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 114
  },
  "hsl": {
    "h": 162.955,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.0926,
    "h": 171
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#338B72
secondary
#B2687D
accent
#5277D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338B72

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

Preview Lab → · Contrast checker → · Palette generator →

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