#338F6E#338F6E

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

Color values

HEX#338F6E
RGBrgb(51, 143, 110)
HSLhsl(158, 47%, 38%)
HSVhsv(158, 64%, 56%)
CMYKcmyk(64.3%, 0%, 23.1%, 43.9%)
CIE-LABlab(53.46, -35.35, 9.68)
CIE-LCHlch(53.46, 36.65, 164.68°)
OKLaboklab(58.63% -0.0979 0.0248)
OKLCHoklch(58.63% 0.101 165.8)
XYZxyz(14.0007, 21.4731, 18.1557)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F6E #8F3354
analogous
#338F40 #338F6E #33828F
triadic
#338F6E #6E338F #8F6E33
tetradic
#338F6E #40338F #8F3354 #828F33
square
#338F6E #40338F #8F3354 #828F33
split-complementary
#338F6E #8F3382 #8F4033
monochromatic
#133529 #23624B #338F6E #43BC91 #70CCAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338F6E#FFFFFF#000000##000000
##338F6E1.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)
#8C856C
Deuteranopia (green-blind)
#7F7C70
Tritanopia (blue-blind)
#008F86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #338f6e;
/* rgb */ color: rgb(51, 143, 110);
/* oklch */ color: oklch(58.6% 0.101 165.8);
Tailwind
colors: {
  custom: {
    50: '#75b097',
    500: '#338f6e',
    950: '#000000',
  },
}
SCSS
$custom: #338f6e;
$custom-light: #75b097;
$custom-dark: #000000;
JSON
{
  "hex": "#338f6e",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 110
  },
  "hsl": {
    "h": 158.478,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.10102,
    "h": 165.8
  },
  "luminance": 0.21475
}

Semantic roles & 50–950 ramp

primary
#338F6E
secondary
#B46A84
accent
#5181D7
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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