#338371#338371

#338371 is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.083 H 175.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#338371
RGBrgb(51, 131, 113)
HSLhsl(167, 44%, 36%)
HSVhsv(167, 61%, 51%)
CMYKcmyk(61.1%, 0%, 13.7%, 48.6%)
CIE-LABlab(49.65, -28.97, 2.49)
CIE-LCHlch(49.65, 29.08, 175.08°)
OKLaboklab(55.55% -0.0828 0.0062)
OKLCHoklch(55.55% 0.083 175.7)
XYZxyz(12.4608, 18.1274, 18.4618)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338371 #833345
analogous
#338349 #338371 #336D83
triadic
#338371 #713383 #837133
tetradic
#338371 #493383 #833345 #6D8333
square
#338371 #493383 #833345 #6D8333
split-complementary
#338371 #83336D #834933
monochromatic
#112B25 #22574B #338371 #44AF97 #6BC5B1

Accessibility & contrast

On white

4.54
#338371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#338371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338371
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338371#FFFFFF#000000##000000
##3383711.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#737272
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #338371;
/* rgb */ color: rgb(51, 131, 113);
/* oklch */ color: oklch(55.5% 0.083 175.7);
Tailwind
colors: {
  custom: {
    50: '#73a799',
    500: '#338371',
    950: '#000000',
  },
}
SCSS
$custom: #338371;
$custom-light: #73a799;
$custom-dark: #000000;
JSON
{
  "hex": "#338371",
  "rgb": {
    "r": 51,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 166.5,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.08304,
    "h": 175.7
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#338371
secondary
#AD6575
accent
#5471D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338371

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

Preview Lab → · Contrast checker → · Palette generator →

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