#339978#339978

#339978 is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.5% C 0.106 H 167.7°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#339978
RGBrgb(51, 153, 120)
HSLhsl(161, 50%, 40%)
HSVhsv(161, 67%, 60%)
CMYKcmyk(66.7%, 0%, 21.6%, 40%)
CIE-LABlab(56.92, -37.40, 8.88)
CIE-LCHlch(56.92, 38.44, 166.64°)
OKLaboklab(61.54% -0.104 0.0227)
OKLCHoklch(61.54% 0.106 167.7)
XYZxyz(16.1449, 24.8406, 21.7095)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#339978 #993354
analogous
#339945 #339978 #338799
triadic
#339978 #783399 #997833
tetradic
#339978 #453399 #993354 #879933
square
#339978 #453399 #993354 #879933
split-complementary
#339978 #993387 #994533
monochromatic
#143D30 #246B54 #339978 #47C29A #75D1B3

Accessibility & contrast

On white

3.52
#339978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#339978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #339978
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##339978#FFFFFF#000000##000000
##3399781.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958F76
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #339978;
/* rgb */ color: rgb(51, 153, 120);
/* oklch */ color: oklch(61.5% 0.106 167.7);
Tailwind
colors: {
  custom: {
    50: '#77b89f',
    500: '#339978',
    950: '#000000',
  },
}
SCSS
$custom: #339978;
$custom-light: #77b89f;
$custom-dark: #000000;
JSON
{
  "hex": "#339978",
  "rgb": {
    "r": 51,
    "g": 153,
    "b": 120
  },
  "hsl": {
    "h": 160.588,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.10646,
    "h": 167.7
  },
  "luminance": 0.24842
}

Semantic roles & 50–950 ramp

primary
#339978
secondary
#B96E87
accent
#4E7BDA
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #339978

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

Preview Lab → · Contrast checker → · Palette generator →

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