#338161#338161

#338161 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.092 H 163.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#338161
RGBrgb(51, 129, 97)
HSLhsl(155, 43%, 35%)
HSVhsv(155, 60%, 51%)
CMYKcmyk(60.5%, 0%, 24.8%, 49.4%)
CIE-LABlab(48.59, -32.04, 10.33)
CIE-LCHlch(48.59, 33.67, 162.14°)
OKLaboklab(54.55% -0.0884 0.0264)
OKLCHoklch(54.55% 0.092 163.4)
XYZxyz(11.3721, 17.2663, 14.0404)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338161 #813353
analogous
#33813A #338161 #337A81
triadic
#338161 #613381 #816133
tetradic
#338161 #3A3381 #813353 #7A8133
square
#338161 #3A3381 #813353 #7A8133
split-complementary
#338161 #81337A #813A33
monochromatic
#10291F #225540 #338161 #44AD82 #6AC49F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##338161#FFFFFF#000000##FFFFFF
##3381611.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)
#7F785F
Deuteranopia (green-blind)
#747063
Tritanopia (blue-blind)
#0B8178
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #338161;
/* rgb */ color: rgb(51, 129, 97);
/* oklch */ color: oklch(54.6% 0.092 163.4);
Tailwind
colors: {
  custom: {
    50: '#73a68e',
    500: '#338161',
    950: '#000000',
  },
}
SCSS
$custom: #338161;
$custom-light: #73a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#338161",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 97
  },
  "hsl": {
    "h": 155.385,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.0923,
    "h": 163.4
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#338161
secondary
#AC6481
accent
#5589D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338161

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

Preview Lab → · Contrast checker → · Palette generator →

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