#338F6D#338F6D

#338F6D is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.6% C 0.102 H 165.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#338F6D
RGBrgb(51, 143, 109)
HSLhsl(158, 47%, 38%)
HSVhsv(158, 64%, 56%)
CMYKcmyk(64.3%, 0%, 23.8%, 43.9%)
CIE-LABlab(53.44, -35.59, 10.22)
CIE-LCHlch(53.44, 37.03, 163.97°)
OKLaboklab(58.61% -0.0984 0.0262)
OKLCHoklch(58.61% 0.102 165.1)
XYZxyz(13.9466, 21.4514, 17.8706)
Luminance0.2145 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F6D #8F3355
analogous
#338F3F #338F6D #33838F
triadic
#338F6D #6D338F #8F6D33
tetradic
#338F6D #3F338F #8F3355 #838F33
square
#338F6D #3F338F #8F3355 #838F33
split-complementary
#338F6D #8F3383 #8F3F33
monochromatic
#133528 #23624B #338F6D #43BC8F #70CCAA

Accessibility & contrast

On white

3.97
#338F6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#338F6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F6D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F6D#FFFFFF#000000##000000
##338F6D1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C856B
Deuteranopia (green-blind)
#7F7C6F
Tritanopia (blue-blind)
#008F86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338f6d;
/* rgb */ color: rgb(51, 143, 109);
/* oklch */ color: oklch(58.6% 0.102 165.1);
Tailwind
colors: {
  custom: {
    50: '#75b096',
    500: '#338f6d',
    950: '#000000',
  },
}
SCSS
$custom: #338f6d;
$custom-light: #75b096;
$custom-dark: #000000;
JSON
{
  "hex": "#338f6d",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 109
  },
  "hsl": {
    "h": 157.826,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.10184,
    "h": 165.1
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#338F6D
secondary
#B46A85
accent
#5182D7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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