#338C65#338C65

#338C65 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.6% C 0.105 H 161.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#338C65
RGBrgb(51, 140, 101)
HSLhsl(154, 47%, 37%)
HSVhsv(154, 64%, 55%)
CMYKcmyk(63.6%, 0%, 27.9%, 45.1%)
CIE-LABlab(52.28, -36.11, 13.18)
CIE-LCHlch(52.28, 38.44, 159.96°)
OKLaboklab(57.6% -0.099 0.0336)
OKLCHoklch(57.6% 0.105 161.3)
XYZxyz(13.0910, 20.3982, 15.5567)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C65 #8C335A
analogous
#338C39 #338C65 #33868C
triadic
#338C65 #65338C #8C6533
tetradic
#338C65 #39338C #8C335A #868C33
square
#338C65 #39338C #8C335A #868C33
split-complementary
#338C65 #8C3386 #8C3933
monochromatic
#123224 #235F45 #338C65 #43B985 #6FCBA2

Accessibility & contrast

On white

4.13
#338C65 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#338C65 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C65
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C65#FFFFFF#000000##000000
##338C651.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8263
Deuteranopia (green-blind)
#7E7967
Tritanopia (blue-blind)
#008C81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338c65;
/* rgb */ color: rgb(51, 140, 101);
/* oklch */ color: oklch(57.6% 0.105 161.3);
Tailwind
colors: {
  custom: {
    50: '#74ae91',
    500: '#338c65',
    950: '#000000',
  },
}
SCSS
$custom: #338c65;
$custom-light: #74ae91;
$custom-dark: #000000;
JSON
{
  "hex": "#338c65",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 101
  },
  "hsl": {
    "h": 153.708,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.10457,
    "h": 161.3
  },
  "luminance": 0.204
}

Semantic roles & 50–950 ramp

primary
#338C65
secondary
#B26889
accent
#528CD6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338C65

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

Preview Lab → · Contrast checker → · Palette generator →

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