#646862#646862

#646862 is a mid, near-neutral grey. Relative luminance 0.135; OKLCH L 51.2% C 0.011 H 135.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#646862
RGBrgb(100, 104, 98)
HSLhsl(100, 3%, 40%)
HSVhsv(100, 6%, 41%)
CMYKcmyk(3.8%, 0%, 5.8%, 59.2%)
CIE-LABlab(43.50, -2.79, 2.84)
CIE-LCHlch(43.50, 3.98, 134.45°)
OKLaboklab(51.19% -0.0074 0.0074)
OKLCHoklch(51.19% 0.011 135)
XYZxyz(12.4101, 13.4918, 13.5033)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646862 #666268
analogous
#676862 #646862 #626863
triadic
#646862 #626468 #686264
tetradic
#646862 #626768 #666268 #686362
square
#646862 #626768 #666268 #686362
split-complementary
#646862 #636268 #686267
monochromatic
#272927 #464844 #646862 #828780 #A1A59F

Accessibility & contrast

On white

5.68
#646862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646862
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646862#FFFFFF#000000##FFFFFF
##6468621.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696762
Deuteranopia (green-blind)
#686762
Tritanopia (blue-blind)
#646766
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646862;
/* rgb */ color: rgb(100, 104, 98);
/* oklch */ color: oklch(51.2% 0.011 135.0);
Tailwind
colors: {
  custom: {
    50: '#90938e',
    500: '#646862',
    950: '#000000',
  },
}
SCSS
$custom: #646862;
$custom-light: #90938e;
$custom-dark: #000000;
JSON
{
  "hex": "#646862",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 98
  },
  "hsl": {
    "h": 100,
    "s": 2.97,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.01051,
    "h": 135
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#646862
secondary
#949195
accent
#7CAC9C
background
#F8F9F8
surface
#F0F1F0
border
#CBCBCB
text
#0C0D0C
muted
#7D7E7D

Preview Lab

Preview with #646862

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

Preview Lab → · Contrast checker → · Palette generator →

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