#338C60#338C60

#338C60 is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.5% C 0.109 H 158.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#338C60
RGBrgb(51, 140, 96)
HSLhsl(150, 47%, 37%)
HSVhsv(150, 64%, 55%)
CMYKcmyk(63.6%, 0%, 31.4%, 45.1%)
CIE-LABlab(52.18, -37.23, 15.87)
CIE-LCHlch(52.18, 40.47, 156.91°)
OKLaboklab(57.48% -0.1015 0.0402)
OKLCHoklch(57.48% 0.109 158.4)
XYZxyz(12.8535, 20.3032, 14.3056)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338C60 #8C335F
analogous
#338C33 #338C60 #338C8C
triadic
#338C60 #60338C #8C6033
tetradic
#338C60 #33338C #8C335F #8C8C33
square
#338C60 #33338C #8C335F #8C8C33
split-complementary
#338C60 #8C338C #8C3333
monochromatic
#123222 #235F41 #338C60 #43B97F #6FCB9D

Accessibility & contrast

On white

4.15
#338C60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#338C60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338C60
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338C60#FFFFFF#000000##000000
##338C601.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B825D
Deuteranopia (green-blind)
#7F7963
Tritanopia (blue-blind)
#028B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338c60;
/* rgb */ color: rgb(51, 140, 96);
/* oklch */ color: oklch(57.5% 0.109 158.4);
Tailwind
colors: {
  custom: {
    50: '#74ae8d',
    500: '#338c60',
    950: '#000000',
  },
}
SCSS
$custom: #338c60;
$custom-light: #74ae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#338c60",
  "rgb": {
    "r": 51,
    "g": 140,
    "b": 96
  },
  "hsl": {
    "h": 150.337,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.10919,
    "h": 158.4
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#338C60
secondary
#B2688D
accent
#5293D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338C60

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

Preview Lab → · Contrast checker → · Palette generator →

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