#646A4C#646A4C

#646A4C is a mid, muted yellow-green. Relative luminance 0.135; OKLCH L 51.1% C 0.046 H 117.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#646A4C
RGBrgb(100, 106, 76)
HSLhsl(72, 16%, 36%)
HSVhsv(72, 28%, 42%)
CMYKcmyk(5.7%, 0%, 28.3%, 58.4%)
CIE-LABlab(43.56, -7.92, 16.12)
CIE-LCHlch(43.56, 17.96, 116.17°)
OKLaboklab(51.07% -0.0209 0.0406)
OKLCHoklch(51.07% 0.046 117.2)
XYZxyz(11.7140, 13.5393, 8.8323)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A4C #524C6A
analogous
#6A614C #646A4C #556A4C
triadic
#646A4C #4C646A #6A4C64
tetradic
#646A4C #4C6A61 #524C6A #6A4C55
square
#646A4C #4C6A61 #524C6A #6A4C55
split-complementary
#646A4C #4C556A #614C6A
monochromatic
#212319 #424632 #646A4C #868E66 #A2A987

Accessibility & contrast

On white

5.66
#646A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#646A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A4C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A4C#FFFFFF#000000##FFFFFF
##646A4C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674A
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#676762
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646a4c;
/* rgb */ color: rgb(100, 106, 76);
/* oklch */ color: oklch(51.1% 0.046 117.2);
Tailwind
colors: {
  custom: {
    50: '#90947e',
    500: '#646a4c',
    950: '#000000',
  },
}
SCSS
$custom: #646a4c;
$custom-light: #90947e;
$custom-dark: #000000;
JSON
{
  "hex": "#646a4c",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 76
  },
  "hsl": {
    "h": 72,
    "s": 16.484,
    "l": 35.686
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.04569,
    "h": 117.2
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#646A4C
secondary
#817B97
accent
#6FB97E
background
#F8F9F7
surface
#F0F1EE
border
#CBCBC9
text
#0C0D0A
muted
#7D7E7C

Preview Lab

Preview with #646A4C

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

Preview Lab → · Contrast checker → · Palette generator →

#646A4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva