#338160#338160

#338160 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.5% C 0.093 H 162.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338160
RGBrgb(51, 129, 96)
HSLhsl(155, 43%, 35%)
HSVhsv(155, 60%, 51%)
CMYKcmyk(60.5%, 0%, 25.6%, 49.4%)
CIE-LABlab(48.57, -32.28, 10.88)
CIE-LCHlch(48.57, 34.06, 161.38°)
OKLaboklab(54.53% -0.0889 0.0278)
OKLCHoklch(54.53% 0.093 162.6)
XYZxyz(11.3257, 17.2477, 13.7964)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338160 #813354
analogous
#338139 #338160 #337B81
triadic
#338160 #603381 #816033
tetradic
#338160 #393381 #813354 #7B8133
square
#338160 #393381 #813354 #7B8133
split-complementary
#338160 #81337B #813933
monochromatic
#10291F #22553F #338160 #44AD81 #6AC49E

Accessibility & contrast

On white

4.72
#338160 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#338160 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338160
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338160#FFFFFF#000000##FFFFFF
##3381601.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F785E
Deuteranopia (green-blind)
#747062
Tritanopia (blue-blind)
#0C8178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338160;
/* rgb */ color: rgb(51, 129, 96);
/* oklch */ color: oklch(54.5% 0.093 162.6);
Tailwind
colors: {
  custom: {
    50: '#73a68d',
    500: '#338160',
    950: '#000000',
  },
}
SCSS
$custom: #338160;
$custom-light: #73a68d;
$custom-dark: #000000;
JSON
{
  "hex": "#338160",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 96
  },
  "hsl": {
    "h": 154.615,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.09318,
    "h": 162.6
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#338160
secondary
#AC6482
accent
#558AD3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338160

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

Preview Lab → · Contrast checker → · Palette generator →

#338160 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva