#646A56#646A56

#646A56 is a mid, muted yellow-green. Relative luminance 0.137; OKLCH L 51.3% C 0.031 H 121.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#646A56
RGBrgb(100, 106, 86)
HSLhsl(78, 10%, 38%)
HSVhsv(78, 19%, 42%)
CMYKcmyk(5.7%, 0%, 18.9%, 58.4%)
CIE-LABlab(43.78, -6.24, 10.47)
CIE-LCHlch(43.78, 12.19, 120.78°)
OKLaboklab(51.31% -0.0162 0.0269)
OKLCHoklch(51.31% 0.031 121.1)
XYZxyz(12.0891, 13.6893, 10.8077)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A56 #5C566A
analogous
#6A6656 #646A56 #5A6A56
triadic
#646A56 #56646A #6A5664
tetradic
#646A56 #566A66 #5C566A #6A565A
square
#646A56 #566A66 #5C566A #6A565A
split-complementary
#646A56 #565A6A #66566A
monochromatic
#24261F #44483B #646A56 #848C71 #A1A793

Accessibility & contrast

On white

5.62
#646A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#646A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A56
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A56#FFFFFF#000000##FFFFFF
##646A561.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6855
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#666864
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646a56;
/* rgb */ color: rgb(100, 106, 86);
/* oklch */ color: oklch(51.3% 0.031 121.1);
Tailwind
colors: {
  custom: {
    50: '#909485',
    500: '#646a56',
    950: '#000000',
  },
}
SCSS
$custom: #646a56;
$custom-light: #909485;
$custom-dark: #000000;
JSON
{
  "hex": "#646a56",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 86
  },
  "hsl": {
    "h": 78,
    "s": 10.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.03141,
    "h": 121.1
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#646A56
secondary
#8B8696
accent
#74B387
background
#F8F9F8
surface
#F0F1EF
border
#CBCBCA
text
#0C0D0B
muted
#7D7E7C

Preview Lab

Preview with #646A56

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

Preview Lab → · Contrast checker → · Palette generator →

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