#626458#626458

#626458 is a mid, near-neutral grey. Relative luminance 0.124; OKLCH L 49.8% C 0.019 H 114.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#626458
RGBrgb(98, 100, 88)
HSLhsl(70, 6%, 37%)
HSVhsv(70, 12%, 39%)
CMYKcmyk(2%, 0%, 12%, 60.8%)
CIE-LABlab(41.87, -3.18, 6.54)
CIE-LCHlch(41.87, 7.28, 115.90°)
OKLaboklab(49.77% -0.0078 0.017)
OKLCHoklch(49.77% 0.019 114.8)
XYZxyz(11.3554, 12.4156, 11.0289)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626458 #5A5864
analogous
#646058 #626458 #5C6458
triadic
#626458 #586264 #645862
tetradic
#626458 #586460 #5A5864 #64585C
square
#626458 #586460 #5A5864 #64585C
split-complementary
#626458 #585C64 #605864
monochromatic
#22231F #42433B #626458 #828575 #9FA295

Accessibility & contrast

On white

6.03
#626458 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#626458 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626458
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626458#FFFFFF#000000##FFFFFF
##6264581.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666357
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#646261
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #626458;
/* rgb */ color: rgb(98, 100, 88);
/* oklch */ color: oklch(49.8% 0.019 114.8);
Tailwind
colors: {
  custom: {
    50: '#8e9087',
    500: '#626458',
    950: '#000000',
  },
}
SCSS
$custom: #626458;
$custom-light: #8e9087;
$custom-dark: #000000;
JSON
{
  "hex": "#626458",
  "rgb": {
    "r": 98,
    "g": 100,
    "b": 88
  },
  "hsl": {
    "h": 70,
    "s": 6.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49772,
    "c": 0.01873,
    "h": 114.8
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#626458
secondary
#888791
accent
#78AF82
background
#F8F8F8
surface
#F0F0EF
border
#CBCBCA
text
#0C0C0B
muted
#7D7D7C

Preview Lab

Preview with #626458

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

Preview Lab → · Contrast checker → · Palette generator →

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