#338D63#338D63

#338D63 is a mid, moderate teal. Relative luminance 0.207; OKLCH L 57.8% C 0.108 H 159.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#338D63
RGBrgb(51, 141, 99)
HSLhsl(152, 47%, 38%)
HSVhsv(152, 64%, 55%)
CMYKcmyk(63.8%, 0%, 29.8%, 44.7%)
CIE-LABlab(52.57, -37.01, 14.71)
CIE-LCHlch(52.57, 39.82, 158.33°)
OKLaboklab(57.82% -0.1011 0.0374)
OKLCHoklch(57.82% 0.108 159.7)
XYZxyz(13.1410, 20.6531, 15.0959)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D63 #8D335D
analogous
#338D36 #338D63 #338A8D
triadic
#338D63 #63338D #8D6333
tetradic
#338D63 #36338D #8D335D #8A8D33
square
#338D63 #36338D #8D335D #8A8D33
split-complementary
#338D63 #8D338A #8D3633
monochromatic
#123324 #236043 #338D63 #43BA83 #6FCBA0

Accessibility & contrast

On white

4.09
#338D63 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#338D63 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D63
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D63#FFFFFF#000000##000000
##338D631.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8361
Deuteranopia (green-blind)
#7F7A66
Tritanopia (blue-blind)
#008C82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338d63;
/* rgb */ color: rgb(51, 141, 99);
/* oklch */ color: oklch(57.8% 0.108 159.7);
Tailwind
colors: {
  custom: {
    50: '#75af8f',
    500: '#338d63',
    950: '#000000',
  },
}
SCSS
$custom: #338d63;
$custom-light: #75af8f;
$custom-dark: #000000;
JSON
{
  "hex": "#338d63",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 99
  },
  "hsl": {
    "h": 152,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.10783,
    "h": 159.7
  },
  "luminance": 0.20654
}

Semantic roles & 50–950 ramp

primary
#338D63
secondary
#B3698B
accent
#518FD7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338D63

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

Preview Lab → · Contrast checker → · Palette generator →

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