#338A67#338A67

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

Color values

HEX#338A67
RGBrgb(51, 138, 103)
HSLhsl(156, 46%, 37%)
HSVhsv(156, 63%, 54%)
CMYKcmyk(63%, 0%, 25.4%, 45.9%)
CIE-LABlab(51.68, -34.75, 11.18)
CIE-LCHlch(51.68, 36.51, 162.16°)
OKLaboklab(57.12% -0.0958 0.0286)
OKLCHoklch(57.12% 0.1 163.4)
XYZxyz(12.9006, 19.8587, 15.9826)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338A67 #8A3356
analogous
#338A3B #338A67 #33828A
triadic
#338A67 #67338A #8A6733
tetradic
#338A67 #3B338A #8A3356 #828A33
square
#338A67 #3B338A #8A3356 #828A33
split-complementary
#338A67 #8A3382 #8A3B33
monochromatic
#123124 #225D46 #338A67 #44B788 #6EC9A5

Accessibility & contrast

On white

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

On black

4.97
#338A67 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338A67
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338A67#FFFFFF#000000##000000
##338A671.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#888065
Deuteranopia (green-blind)
#7C7869
Tritanopia (blue-blind)
#008A80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #338a67;
/* rgb */ color: rgb(51, 138, 103);
/* oklch */ color: oklch(57.1% 0.100 163.4);
Tailwind
colors: {
  custom: {
    50: '#74ad92',
    500: '#338a67',
    950: '#000000',
  },
}
SCSS
$custom: #338a67;
$custom-light: #74ad92;
$custom-dark: #000000;
JSON
{
  "hex": "#338a67",
  "rgb": {
    "r": 51,
    "g": 138,
    "b": 103
  },
  "hsl": {
    "h": 155.862,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.09995,
    "h": 163.4
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#338A67
secondary
#B16785
accent
#5287D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100D
muted
#7B7F7D

Preview Lab

Preview with #338A67

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

Preview Lab → · Contrast checker → · Palette generator →

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