#338165#338165

#338165 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.7% C 0.089 H 166.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#338165
RGBrgb(51, 129, 101)
HSLhsl(158, 43%, 35%)
HSVhsv(158, 60%, 51%)
CMYKcmyk(60.5%, 0%, 21.7%, 49.4%)
CIE-LABlab(48.69, -31.08, 8.13)
CIE-LCHlch(48.69, 32.13, 165.34°)
OKLaboklab(54.66% -0.0864 0.0208)
OKLCHoklch(54.66% 0.089 166.5)
XYZxyz(11.5633, 17.3428, 15.0475)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338165 #81334F
analogous
#33813E #338165 #337681
triadic
#338165 #653381 #816533
tetradic
#338165 #3E3381 #81334F #768133
square
#338165 #3E3381 #81334F #768133
split-complementary
#338165 #813376 #813E33
monochromatic
#102920 #225543 #338165 #44AD87 #6AC4A4

Accessibility & contrast

On white

4.70
#338165 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#338165 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #338165
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338165#FFFFFF#000000##FFFFFF
##3381651.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7864
Deuteranopia (green-blind)
#737067
Tritanopia (blue-blind)
#058179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #338165;
/* rgb */ color: rgb(51, 129, 101);
/* oklch */ color: oklch(54.7% 0.089 166.5);
Tailwind
colors: {
  custom: {
    50: '#73a690',
    500: '#338165',
    950: '#000000',
  },
}
SCSS
$custom: #338165;
$custom-light: #73a690;
$custom-dark: #000000;
JSON
{
  "hex": "#338165",
  "rgb": {
    "r": 51,
    "g": 129,
    "b": 101
  },
  "hsl": {
    "h": 158.462,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.08891,
    "h": 166.5
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#338165
secondary
#AC647E
accent
#5582D3
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#080F0C
muted
#7B7F7D

Preview Lab

Preview with #338165

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

Preview Lab → · Contrast checker → · Palette generator →

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