#628778#628778

#628778 is a mid, muted teal. Relative luminance 0.213; OKLCH L 59.1% C 0.047 H 167.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#628778
RGBrgb(98, 135, 120)
HSLhsl(156, 16%, 46%)
HSVhsv(156, 27%, 53%)
CMYKcmyk(27.4%, 0%, 11.1%, 47.1%)
CIE-LABlab(53.25, -16.30, 3.90)
CIE-LCHlch(53.25, 16.76, 166.54°)
OKLaboklab(59.11% -0.0464 0.0101)
OKLCHoklch(59.11% 0.047 167.8)
XYZxyz(17.0901, 21.2799, 20.9726)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628778 #876271
analogous
#628765 #628778 #628387
triadic
#628778 #786287 #877862
tetradic
#628778 #656287 #876271 #838762
square
#628778 #656287 #876271 #838762
split-complementary
#628778 #876283 #876562
monochromatic
#2F4039 #486458 #628778 #82A496 #A5BEB4

Accessibility & contrast

On white

4.00
#628778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#628778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628778
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628778#FFFFFF#000000##000000
##6287781.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#858277
Deuteranopia (green-blind)
#7F7D79
Tritanopia (blue-blind)
#5A8783
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628778;
/* rgb */ color: rgb(98, 135, 120);
/* oklch */ color: oklch(59.1% 0.047 167.8);
Tailwind
colors: {
  custom: {
    50: '#8faa9f',
    500: '#628778',
    950: '#000000',
  },
}
SCSS
$custom: #628778;
$custom-light: #8faa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#628778",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 120
  },
  "hsl": {
    "h": 155.676,
    "s": 15.88,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.04746,
    "h": 167.8
  },
  "luminance": 0.21281
}

Semantic roles & 50–950 ramp

primary
#628778
secondary
#AD98A0
accent
#6F8DB9
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #628778

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

Preview Lab → · Contrast checker → · Palette generator →

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