#626A62#626A62

#626A62 is a mid, near-neutral grey. Relative luminance 0.138; OKLCH L 51.5% C 0.016 H 145.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#626A62
RGBrgb(98, 106, 98)
HSLhsl(120, 4%, 40%)
HSVhsv(120, 8%, 42%)
CMYKcmyk(7.5%, 0%, 7.5%, 58.4%)
CIE-LABlab(43.93, -4.74, 3.44)
CIE-LCHlch(43.93, 5.86, 144.03°)
OKLaboklab(51.49% -0.013 0.009)
OKLCHoklch(51.49% 0.016 145.3)
XYZxyz(12.3952, 13.7865, 13.5609)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A62 #6A626A
analogous
#666A62 #626A62 #626A66
triadic
#626A62 #62626A #6A6262
tetradic
#626A62 #62666A #6A626A #6A6662
square
#626A62 #62666A #6A626A #6A6662
split-complementary
#626A62 #66626A #6A6266
monochromatic
#272A27 #454A45 #626A62 #808980 #A0A7A0

Accessibility & contrast

On white

5.59
#626A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#626A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A62
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A62#FFFFFF#000000##FFFFFF
##626A621.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6862
Deuteranopia (green-blind)
#696762
Tritanopia (blue-blind)
#616968
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #626a62;
/* rgb */ color: rgb(98, 106, 98);
/* oklch */ color: oklch(51.5% 0.016 145.3);
Tailwind
colors: {
  custom: {
    50: '#8e948e',
    500: '#626a62',
    950: '#000000',
  },
}
SCSS
$custom: #626a62;
$custom-light: #8e948e;
$custom-dark: #000000;
JSON
{
  "hex": "#626a62",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 98
  },
  "hsl": {
    "h": 120,
    "s": 3.922,
    "l": 40
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.01581,
    "h": 145.3
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#626A62
secondary
#979197
accent
#7BADAD
background
#F8F9F8
surface
#F0F1F0
border
#CBCBCB
text
#0C0D0C
muted
#7D7E7D

Preview Lab

Preview with #626A62

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

Preview Lab → · Contrast checker → · Palette generator →

#626A62 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva