#646752#646752

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

Color values

HEX#646752
RGBrgb(100, 103, 82)
HSLhsl(69, 11%, 36%)
HSVhsv(69, 20%, 40%)
CMYKcmyk(2.9%, 0%, 20.4%, 59.6%)
CIE-LABlab(42.79, -5.20, 11.49)
CIE-LCHlch(42.79, 12.61, 114.34°)
OKLaboklab(50.5% -0.0132 0.0294)
OKLCHoklch(50.5% 0.032 114.2)
XYZxyz(11.6286, 13.0191, 9.8813)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646752 #555267
analogous
#676052 #646752 #5A6752
triadic
#646752 #526467 #675264
tetradic
#646752 #526760 #555267 #67525A
square
#646752 #526760 #555267 #67525A
split-complementary
#646752 #525A67 #605267
monochromatic
#22231C #434537 #646752 #85896D #A2A58E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646752#FFFFFF#000000##FFFFFF
##6467521.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)
#6A6551
Deuteranopia (green-blind)
#6A6553
Tritanopia (blue-blind)
#676461
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646752;
/* rgb */ color: rgb(100, 103, 82);
/* oklch */ color: oklch(50.5% 0.032 114.2);
Tailwind
colors: {
  custom: {
    50: '#909282',
    500: '#646752',
    950: '#000000',
  },
}
SCSS
$custom: #646752;
$custom-light: #909282;
$custom-dark: #000000;
JSON
{
  "hex": "#646752",
  "rgb": {
    "r": 100,
    "g": 103,
    "b": 82
  },
  "hsl": {
    "h": 68.571,
    "s": 11.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.03222,
    "h": 114.2
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#646752
secondary
#848194
accent
#74B47D
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0D0A
muted
#7D7D7C

Preview Lab

Preview with #646752

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

Preview Lab → · Contrast checker → · Palette generator →

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