#338F83#338F83

#338F83 is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.3% C 0.088 H 183.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#338F83
RGBrgb(51, 143, 131)
HSLhsl(172, 47%, 38%)
HSVhsv(172, 64%, 56%)
CMYKcmyk(64.3%, 0%, 8.4%, 43.9%)
CIE-LABlab(54.01, -29.89, -1.61)
CIE-LCHlch(54.01, 29.93, 183.07°)
OKLaboklab(59.26% -0.0877 -0.0048)
OKLCHoklch(59.26% 0.088 183.1)
XYZxyz(15.2825, 21.9858, 24.9066)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F83 #8F333F
analogous
#338F55 #338F83 #336D8F
triadic
#338F83 #83338F #8F8333
tetradic
#338F83 #55338F #8F333F #6D8F33
square
#338F83 #55338F #8F333F #6D8F33
split-complementary
#338F83 #8F336D #8F5533
monochromatic
#133530 #23625A #338F83 #43BCAC #70CCC0

Accessibility & contrast

On white

3.89
#338F83 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#338F83 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F83
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F83#FFFFFF#000000##000000
##338F831.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#888783
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#00928B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338f83;
/* rgb */ color: rgb(51, 143, 131);
/* oklch */ color: oklch(59.3% 0.088 183.1);
Tailwind
colors: {
  custom: {
    50: '#76b0a7',
    500: '#338f83',
    950: '#000000',
  },
}
SCSS
$custom: #338f83;
$custom-light: #76b0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#338f83",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 131
  },
  "hsl": {
    "h": 172.174,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.08783,
    "h": 183.1
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#338F83
secondary
#B46A73
accent
#5162D7
background
#F7FAFA
surface
#EEF5F4
border
#C9CFCE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #338F83

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

Preview Lab → · Contrast checker → · Palette generator →

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