#338F62#338F62

#338F62 is a mid, moderate teal. Relative luminance 0.212; OKLCH L 58.3% C 0.112 H 158.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#338F62
RGBrgb(51, 143, 98)
HSLhsl(151, 47%, 38%)
HSVhsv(151, 64%, 56%)
CMYKcmyk(64.3%, 0%, 31.5%, 43.9%)
CIE-LABlab(53.20, -38.10, 16.14)
CIE-LCHlch(53.20, 41.38, 157.04°)
OKLaboklab(58.33% -0.1039 0.0409)
OKLCHoklch(58.33% 0.112 158.5)
XYZxyz(13.3911, 21.2292, 14.9448)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338F62 #8F3360
analogous
#338F34 #338F62 #338E8F
triadic
#338F62 #62338F #8F6233
tetradic
#338F62 #34338F #8F3360 #8E8F33
square
#338F62 #34338F #8F3360 #8E8F33
split-complementary
#338F62 #8F338E #8F3433
monochromatic
#133524 #236243 #338F62 #43BC81 #70CC9F

Accessibility & contrast

On white

4.00
#338F62 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#338F62 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338F62
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338F62#FFFFFF#000000##000000
##338F621.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845F
Deuteranopia (green-blind)
#817B65
Tritanopia (blue-blind)
#008E83
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #338f62;
/* rgb */ color: rgb(51, 143, 98);
/* oklch */ color: oklch(58.3% 0.112 158.5);
Tailwind
colors: {
  custom: {
    50: '#75b08f',
    500: '#338f62',
    950: '#000000',
  },
}
SCSS
$custom: #338f62;
$custom-light: #75b08f;
$custom-dark: #000000;
JSON
{
  "hex": "#338f62",
  "rgb": {
    "r": 51,
    "g": 143,
    "b": 98
  },
  "hsl": {
    "h": 150.652,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.11163,
    "h": 158.5
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#338F62
secondary
#B46A8E
accent
#5192D7
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #338F62

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

Preview Lab → · Contrast checker → · Palette generator →

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