#338B60#338B60

#338B60 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.2% C 0.108 H 158.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#338B60
RGBrgb(51, 139, 96)
HSLhsl(151, 46%, 37%)
HSVhsv(151, 63%, 55%)
CMYKcmyk(63.3%, 0%, 30.9%, 45.5%)
CIE-LABlab(51.85, -36.79, 15.43)
CIE-LCHlch(51.85, 39.89, 157.25°)
OKLaboklab(57.21% -0.1004 0.0391)
OKLCHoklch(57.21% 0.108 158.7)
XYZxyz(12.7080, 20.0123, 14.2571)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338B60 #8B335E
analogous
#338B34 #338B60 #338A8B
triadic
#338B60 #60338B #8B6033
tetradic
#338B60 #34338B #8B335E #8A8B33
square
#338B60 #34338B #8B335E #8A8B33
split-complementary
#338B60 #8B338A #8B3433
monochromatic
#123122 #235E41 #338B60 #43B87F #6ECA9D

Accessibility & contrast

On white

4.20
#338B60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#338B60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338B60
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338B60#FFFFFF#000000##000000
##338B601.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815D
Deuteranopia (green-blind)
#7E7863
Tritanopia (blue-blind)
#038A80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #338b60;
/* rgb */ color: rgb(51, 139, 96);
/* oklch */ color: oklch(57.2% 0.108 158.7);
Tailwind
colors: {
  custom: {
    50: '#74ad8d',
    500: '#338b60',
    950: '#000000',
  },
}
SCSS
$custom: #338b60;
$custom-light: #74ad8d;
$custom-dark: #000000;
JSON
{
  "hex": "#338b60",
  "rgb": {
    "r": 51,
    "g": 139,
    "b": 96
  },
  "hsl": {
    "h": 150.682,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.10775,
    "h": 158.7
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#338B60
secondary
#B2688C
accent
#5292D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #338B60

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

Preview Lab → · Contrast checker → · Palette generator →

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