#338B68#338B68

#338B68 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.4% C 0.101 H 163.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#338B68
RGBrgb(51, 139, 104)
HSLhsl(156, 46%, 37%)
HSVhsv(156, 63%, 55%)
CMYKcmyk(63.3%, 0%, 25.2%, 45.5%)
CIE-LABlab(52.03, -34.97, 11.10)
CIE-LCHlch(52.03, 36.69, 162.39°)
OKLaboklab(57.41% -0.0964 0.0284)
OKLCHoklch(57.41% 0.101 163.6)
XYZxyz(13.0953, 20.1672, 16.2966)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B68 #8B3356
analogous
#338B3C #338B68 #33828B
triadic
#338B68 #68338B #8B6833
tetradic
#338B68 #3C338B #8B3356 #828B33
square
#338B68 #3C338B #8B3356 #828B33
split-complementary
#338B68 #8B3382 #8B3C33
monochromatic
#123125 #235E47 #338B68 #43B889 #6ECAA6

Accessibility & contrast

On white

4.17
#338B68 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#338B68 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B68
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B68#FFFFFF#000000##000000
##338B681.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#898166
Deuteranopia (green-blind)
#7C786A
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338b68;
/* rgb */ color: rgb(51, 139, 104);
/* oklch */ color: oklch(57.4% 0.101 163.6);
Tailwind
colors: {
  custom: {
    50: '#74ad93',
    500: '#338b68',
    950: '#000000',
  },
}
SCSS
$custom: #338b68;
$custom-light: #74ad93;
$custom-dark: #000000;
JSON
{
  "hex": "#338b68",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 104
  },
  "hsl": {
    "h": 156.136,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.10051,
    "h": 163.6
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#338B68
secondary
#B26885
accent
#5286D6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#09100D
muted
#7B7F7E

Preview Lab

Preview with #338B68

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

Preview Lab → · Contrast checker → · Palette generator →

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