#338F65#338F65

#338F65 is a mid, moderate teal. Relative luminance 0.213; OKLCH L 58.4% C 0.109 H 160.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#338F65
RGBrgb(51, 143, 101)
HSLhsl(153, 47%, 38%)
HSVhsv(153, 64%, 56%)
CMYKcmyk(64.3%, 0%, 29.4%, 43.9%)
CIE-LABlab(53.26, -37.44, 14.53)
CIE-LCHlch(53.26, 40.16, 158.79°)
OKLaboklab(58.4% -0.1024 0.0369)
OKLCHoklch(58.4% 0.109 160.2)
XYZxyz(13.5354, 21.2869, 15.7049)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F65 #8F335D
analogous
#338F37 #338F65 #338B8F
triadic
#338F65 #65338F #8F6533
tetradic
#338F65 #37338F #8F335D #8B8F33
square
#338F65 #37338F #8F335D #8B8F33
split-complementary
#338F65 #8F338B #8F3733
monochromatic
#133525 #236245 #338F65 #43BC85 #70CCA2

Accessibility & contrast

On white

3.99
#338F65 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#338F65 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F65
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F65#FFFFFF#000000##000000
##338F651.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8563
Deuteranopia (green-blind)
#817C68
Tritanopia (blue-blind)
#008E84
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338f65;
/* rgb */ color: rgb(51, 143, 101);
/* oklch */ color: oklch(58.4% 0.109 160.2);
Tailwind
colors: {
  custom: {
    50: '#75b091',
    500: '#338f65',
    950: '#000000',
  },
}
SCSS
$custom: #338f65;
$custom-light: #75b091;
$custom-dark: #000000;
JSON
{
  "hex": "#338f65",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 101
  },
  "hsl": {
    "h": 152.609,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.10884,
    "h": 160.2
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#338F65
secondary
#B46A8C
accent
#518ED7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #338F65

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

Preview Lab → · Contrast checker → · Palette generator →

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