#339781#339781

#339781 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.3% C 0.098 H 175.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#339781
RGBrgb(51, 151, 129)
HSLhsl(167, 50%, 40%)
HSVhsv(167, 66%, 59%)
CMYKcmyk(66.2%, 0%, 14.6%, 40.8%)
CIE-LABlab(56.51, -34.21, 3.18)
CIE-LCHlch(56.51, 34.36, 174.70°)
OKLaboklab(61.27% -0.0974 0.0079)
OKLCHoklch(61.27% 0.098 175.4)
XYZxyz(16.3924, 24.4202, 24.6143)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339781 #973349
analogous
#33974F #339781 #337B97
triadic
#339781 #813397 #978133
tetradic
#339781 #4F3397 #973349 #7B9733
square
#339781 #4F3397 #973349 #7B9733
split-complementary
#339781 #97337B #974F33
monochromatic
#143C33 #24695A #339781 #47C1A6 #74D0BC

Accessibility & contrast

On white

3.57
#339781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#339781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339781
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339781#FFFFFF#000000##000000
##3397811.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928E80
Deuteranopia (green-blind)
#838383
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #339781;
/* rgb */ color: rgb(51, 151, 129);
/* oklch */ color: oklch(61.3% 0.098 175.4);
Tailwind
colors: {
  custom: {
    50: '#77b6a5',
    500: '#339781',
    950: '#000000',
  },
}
SCSS
$custom: #339781;
$custom-light: #77b6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#339781",
  "rgb": {
    "r": 51,
    "g": 151,
    "b": 129
  },
  "hsl": {
    "h": 166.8,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.09777,
    "h": 175.4
  },
  "luminance": 0.24422
}

Semantic roles & 50–950 ramp

primary
#339781
secondary
#B86D7E
accent
#4F6DD9
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #339781

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

Preview Lab → · Contrast checker → · Palette generator →

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