#318978#318978

#318978 is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.087 H 177.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#318978
RGBrgb(49, 137, 120)
HSLhsl(168, 47%, 36%)
HSVhsv(168, 64%, 54%)
CMYKcmyk(64.2%, 0%, 12.4%, 46.3%)
CIE-LABlab(51.72, -30.38, 1.41)
CIE-LCHlch(51.72, 30.42, 177.34°)
OKLaboklab(57.28% -0.0874 0.0033)
OKLCHoklch(57.28% 0.087 177.9)
XYZxyz(13.6008, 19.8989, 20.8898)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318978 #893142
analogous
#31894C #318978 #316E89
triadic
#318978 #783189 #897831
tetradic
#318978 #4C3189 #893142 #6E8931
square
#318978 #4C3189 #893142 #6E8931
split-complementary
#318978 #89316E #894C31
monochromatic
#112F29 #215C51 #318978 #41B69F #6BCAB7

Accessibility & contrast

On white

4.22
#318978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#318978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318978
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318978#FFFFFF#000000##000000
##3189781.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848177
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#008B84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318978;
/* rgb */ color: rgb(49, 137, 120);
/* oklch */ color: oklch(57.3% 0.087 177.9);
Tailwind
colors: {
  custom: {
    50: '#74ac9e',
    500: '#318978',
    950: '#000000',
  },
}
SCSS
$custom: #318978;
$custom-light: #74ac9e;
$custom-dark: #000000;
JSON
{
  "hex": "#318978",
  "rgb": {
    "r": 49,
    "g": 137,
    "b": 120
  },
  "hsl": {
    "h": 168.409,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.08744,
    "h": 177.9
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#318978
secondary
#B16473
accent
#516BD7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #318978

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

Preview Lab → · Contrast checker → · Palette generator →

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