#338A68#338A68

#338A68 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.1% C 0.099 H 164.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#338A68
RGBrgb(51, 138, 104)
HSLhsl(157, 46%, 37%)
HSVhsv(157, 63%, 54%)
CMYKcmyk(63%, 0%, 24.6%, 45.9%)
CIE-LABlab(51.70, -34.52, 10.64)
CIE-LCHlch(51.70, 36.12, 162.87°)
OKLaboklab(57.15% -0.0953 0.0272)
OKLCHoklch(57.15% 0.099 164.1)
XYZxyz(12.9511, 19.8789, 16.2485)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A68 #8A3355
analogous
#338A3D #338A68 #33818A
triadic
#338A68 #68338A #8A6833
tetradic
#338A68 #3D338A #8A3355 #818A33
square
#338A68 #3D338A #8A3355 #818A33
split-complementary
#338A68 #8A3381 #8A3D33
monochromatic
#123125 #225D46 #338A68 #44B78A #6EC9A6

Accessibility & contrast

On white

4.22
#338A68 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#338A68 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A68
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A68#FFFFFF#000000##000000
##338A681.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878066
Deuteranopia (green-blind)
#7B786A
Tritanopia (blue-blind)
#008A81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338a68;
/* rgb */ color: rgb(51, 138, 104);
/* oklch */ color: oklch(57.1% 0.099 164.1);
Tailwind
colors: {
  custom: {
    50: '#74ad93',
    500: '#338a68',
    950: '#000000',
  },
}
SCSS
$custom: #338a68;
$custom-light: #74ad93;
$custom-dark: #000000;
JSON
{
  "hex": "#338a68",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 104
  },
  "hsl": {
    "h": 156.552,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.0991,
    "h": 164.1
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #338A68

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

Preview Lab → · Contrast checker → · Palette generator →

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