#338E6B#338E6B

#338E6B is a mid, moderate teal. Relative luminance 0.211; OKLCH L 58.3% C 0.102 H 164.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#338E6B
RGBrgb(51, 142, 107)
HSLhsl(157, 47%, 38%)
HSVhsv(157, 64%, 56%)
CMYKcmyk(64.1%, 0%, 24.6%, 44.3%)
CIE-LABlab(53.07, -35.61, 10.84)
CIE-LCHlch(53.07, 37.23, 163.06°)
OKLaboklab(58.29% -0.0983 0.0277)
OKLCHoklch(58.29% 0.102 164.2)
XYZxyz(13.6907, 21.1099, 17.2602)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E6B #8E3356
analogous
#338E3D #338E6B #33838E
triadic
#338E6B #6B338E #8E6B33
tetradic
#338E6B #3D338E #8E3356 #838E33
square
#338E6B #3D338E #8E3356 #838E33
split-complementary
#338E6B #8E3383 #8E3D33
monochromatic
#133427 #236149 #338E6B #43BB8D #70CCA8

Accessibility & contrast

On white

4.02
#338E6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#338E6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E6B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E6B#FFFFFF#000000##000000
##338E6B1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8469
Deuteranopia (green-blind)
#7F7B6D
Tritanopia (blue-blind)
#008E84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338e6b;
/* rgb */ color: rgb(51, 142, 107);
/* oklch */ color: oklch(58.3% 0.102 164.2);
Tailwind
colors: {
  custom: {
    50: '#75b095',
    500: '#338e6b',
    950: '#000000',
  },
}
SCSS
$custom: #338e6b;
$custom-light: #75b095;
$custom-dark: #000000;
JSON
{
  "hex": "#338e6b",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 107
  },
  "hsl": {
    "h": 156.923,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.10214,
    "h": 164.2
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#338E6B
secondary
#B46986
accent
#5184D7
background
#F7FAF9
surface
#EDF5F1
border
#C8CFCB
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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