#646751#646751

#646751 is a mid, muted yellow. Relative luminance 0.130; OKLCH L 50.5% C 0.034 H 113.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#646751
RGBrgb(100, 103, 81)
HSLhsl(68, 12%, 36%)
HSVhsv(68, 21%, 40%)
CMYKcmyk(2.9%, 0%, 21.4%, 59.6%)
CIE-LABlab(42.77, -5.37, 12.06)
CIE-LCHlch(42.77, 13.20, 113.99°)
OKLaboklab(50.47% -0.0137 0.0308)
OKLCHoklch(50.47% 0.034 113.9)
XYZxyz(11.5909, 13.0040, 9.6824)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646751 #545167
analogous
#675F51 #646751 #596751
triadic
#646751 #516467 #675164
tetradic
#646751 #51675F #545167 #675159
square
#646751 #51675F #545167 #675159
split-complementary
#646751 #515967 #5F5167
monochromatic
#21221B #434536 #646751 #85896C #A2A58D

Accessibility & contrast

On white

5.83
#646751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#646751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646751
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646751#FFFFFF#000000##FFFFFF
##6467511.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6550
Deuteranopia (green-blind)
#6A6552
Tritanopia (blue-blind)
#676461
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646751;
/* rgb */ color: rgb(100, 103, 81);
/* oklch */ color: oklch(50.5% 0.034 113.9);
Tailwind
colors: {
  custom: {
    50: '#909282',
    500: '#646751',
    950: '#000000',
  },
}
SCSS
$custom: #646751;
$custom-light: #909282;
$custom-dark: #000000;
JSON
{
  "hex": "#646751",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 81
  },
  "hsl": {
    "h": 68.182,
    "s": 11.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.03369,
    "h": 113.9
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#646751
secondary
#838094
accent
#73B57C
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0D0A
muted
#7D7D7C

Preview Lab

Preview with #646751

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

Preview Lab → · Contrast checker → · Palette generator →

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