#646858#646858

#646858 is a mid, muted yellow-green. Relative luminance 0.133; OKLCH L 50.9% C 0.025 H 118.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#646858
RGBrgb(100, 104, 88)
HSLhsl(75, 8%, 38%)
HSVhsv(75, 15%, 41%)
CMYKcmyk(3.8%, 0%, 15.4%, 59.2%)
CIE-LABlab(43.23, -4.71, 8.50)
CIE-LCHlch(43.23, 9.72, 119.01°)
OKLaboklab(50.89% -0.012 0.022)
OKLCHoklch(50.89% 0.025 118.7)
XYZxyz(11.9671, 13.3146, 11.1701)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646858 #5C5868
analogous
#686458 #646858 #5C6858
triadic
#646858 #586468 #685864
tetradic
#646858 #586864 #5C5868 #68585C
square
#646858 #586864 #5C5868 #68585C
split-complementary
#646858 #585C68 #645868
monochromatic
#242620 #44473C #646858 #848974 #A1A595

Accessibility & contrast

On white

5.73
#646858 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646858 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646858
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646858#FFFFFF#000000##FFFFFF
##6468581.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6657
Deuteranopia (green-blind)
#6A6659
Tritanopia (blue-blind)
#666663
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646858;
/* rgb */ color: rgb(100, 104, 88);
/* oklch */ color: oklch(50.9% 0.025 118.7);
Tailwind
colors: {
  custom: {
    50: '#909387',
    500: '#646858',
    950: '#000000',
  },
}
SCSS
$custom: #646858;
$custom-light: #909387;
$custom-dark: #000000;
JSON
{
  "hex": "#646858",
  "rgb": {
    "r": 100,
    "g": 104,
    "b": 88
  },
  "hsl": {
    "h": 75,
    "s": 8.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.02504,
    "h": 118.7
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#646858
secondary
#8B8794
accent
#76B185
background
#F8F9F8
surface
#F0F1EF
border
#CBCBCA
text
#0C0D0B
muted
#7D7E7C

Preview Lab

Preview with #646858

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

Preview Lab → · Contrast checker → · Palette generator →

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