#338D60#338D60

#338D60 is a mid, moderate teal. Relative luminance 0.206; OKLCH L 57.7% C 0.111 H 158.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#338D60
RGBrgb(51, 141, 96)
HSLhsl(150, 47%, 38%)
HSVhsv(150, 64%, 55%)
CMYKcmyk(63.8%, 0%, 31.9%, 44.7%)
CIE-LABlab(52.51, -37.66, 16.32)
CIE-LCHlch(52.51, 41.05, 156.57°)
OKLaboklab(57.75% -0.1026 0.0413)
OKLCHoklch(57.75% 0.111 158.1)
XYZxyz(13.0003, 20.5968, 14.3545)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338D60 #8D3360
analogous
#338D33 #338D60 #338D8D
triadic
#338D60 #60338D #8D6033
tetradic
#338D60 #33338D #8D3360 #8D8D33
square
#338D60 #33338D #8D3360 #8D8D33
split-complementary
#338D60 #8D338D #8D3333
monochromatic
#123323 #236041 #338D60 #43BA7F #6FCB9D

Accessibility & contrast

On white

4.10
#338D60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#338D60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338D60
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338D60#FFFFFF#000000##000000
##338D601.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C825D
Deuteranopia (green-blind)
#807A63
Tritanopia (blue-blind)
#018C81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #338d60;
/* rgb */ color: rgb(51, 141, 96);
/* oklch */ color: oklch(57.7% 0.111 158.1);
Tailwind
colors: {
  custom: {
    50: '#75af8d',
    500: '#338d60',
    950: '#000000',
  },
}
SCSS
$custom: #338d60;
$custom-light: #75af8d;
$custom-dark: #000000;
JSON
{
  "hex": "#338d60",
  "rgb": {
    "r": 51,
    "g": 141,
    "b": 96
  },
  "hsl": {
    "h": 150,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.11063,
    "h": 158.1
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#338D60
secondary
#B3698E
accent
#5194D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338D60

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

Preview Lab → · Contrast checker → · Palette generator →

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