#646C5A#646C5A

#646C5A is a mid, muted yellow-green. Relative luminance 0.142; OKLCH L 51.9% C 0.029 H 126.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#646C5A
RGBrgb(100, 108, 90)
HSLhsl(87, 9%, 39%)
HSVhsv(87, 17%, 42%)
CMYKcmyk(7.4%, 0%, 16.7%, 57.6%)
CIE-LABlab(44.48, -6.67, 9.06)
CIE-LCHlch(44.48, 11.25, 126.36°)
OKLaboklab(51.9% -0.0176 0.0234)
OKLCHoklch(51.9% 0.029 126.9)
XYZxyz(12.4633, 14.1726, 11.7499)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C5A #625A6C
analogous
#6C6B5A #646C5A #5B6C5A
triadic
#646C5A #5A646C #6C5A64
tetradic
#646C5A #5A6C6B #625A6C #6C5A5B
square
#646C5A #5A6C6B #625A6C #6C5A5B
split-complementary
#646C5A #5A5B6C #6B5A6C
monochromatic
#262922 #454B3E #646C5A #838D76 #A1A998

Accessibility & contrast

On white

5.48
#646C5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#646C5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C5A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C5A#FFFFFF#000000##FFFFFF
##646C5A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6959
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#656A67
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #646c5a;
/* rgb */ color: rgb(100, 108, 90);
/* oklch */ color: oklch(51.9% 0.029 126.9);
Tailwind
colors: {
  custom: {
    50: '#909688',
    500: '#646c5a',
    950: '#000000',
  },
}
SCSS
$custom: #646c5a;
$custom-light: #909688;
$custom-dark: #000000;
JSON
{
  "hex": "#646c5a",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 90
  },
  "hsl": {
    "h": 86.667,
    "s": 9.091,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.02923,
    "h": 126.9
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#646C5A
secondary
#908A98
accent
#76B291
background
#F8F9F8
surface
#F0F1EF
border
#CBCBCA
text
#0C0D0B
muted
#7D7E7C

Preview Lab

Preview with #646C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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