#626462#626462

#626462 is a mid, near-neutral grey. Relative luminance 0.126; OKLCH L 50.1% C 0.004 H 145.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#626462
RGBrgb(98, 100, 98)
HSLhsl(120, 1%, 39%)
HSVhsv(120, 2%, 39%)
CMYKcmyk(2%, 0%, 2%, 60.8%)
CIE-LABlab(42.14, -1.20, 0.86)
CIE-LCHlch(42.14, 1.47, 144.34°)
OKLaboklab(50.08% -0.0033 0.0023)
OKLCHoklch(50.08% 0.004 145.5)
XYZxyz(11.7984, 12.5928, 13.3620)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626462 #646264
analogous
#636462 #626462 #626463
triadic
#626462 #626264 #646262
tetradic
#626462 #626364 #646264 #646362
square
#626462 #626364 #646264 #646362
split-complementary
#626462 #636264 #646263
monochromatic
#252625 #444544 #626462 #808380 #9FA19F

Accessibility & contrast

On white

5.97
#626462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#626462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626462
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626462#FFFFFF#000000##FFFFFF
##6264621.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646462
Deuteranopia (green-blind)
#646362
Tritanopia (blue-blind)
#626463
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #626462;
/* rgb */ color: rgb(98, 100, 98);
/* oklch */ color: oklch(50.1% 0.004 145.5);
Tailwind
colors: {
  custom: {
    50: '#8e908e',
    500: '#626462',
    950: '#000000',
  },
}
SCSS
$custom: #626462;
$custom-light: #8e908e;
$custom-dark: #000000;
JSON
{
  "hex": "#626462",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 98
  },
  "hsl": {
    "h": 120,
    "s": 1.01,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50079,
    "c": 0.00399,
    "h": 145.5
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#626462
secondary
#929092
accent
#7EAAAA
background
#F8F8F8
surface
#F0F0F0
border
#CBCBCB
text
#0C0C0C
muted
#7D7D7D

Preview Lab

Preview with #626462

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

Preview Lab → · Contrast checker → · Palette generator →

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