#646151#646151

#646151 is a mid, muted yellow. Relative luminance 0.119; OKLCH L 49.1% C 0.025 H 98.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#646151
RGBrgb(100, 97, 81)
HSLhsl(51, 10%, 35%)
HSVhsv(51, 19%, 39%)
CMYKcmyk(0%, 3%, 19%, 60.8%)
CIE-LABlab(40.98, -1.83, 9.57)
CIE-LCHlch(40.98, 9.74, 100.85°)
OKLaboklab(49.06% -0.0037 0.0246)
OKLCHoklch(49.06% 0.025 98.5)
XYZxyz(11.0153, 11.8529, 9.4905)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646151 #515464
analogous
#645751 #646151 #5D6451
triadic
#646151 #516461 #615164
tetradic
#646151 #516457 #515464 #64515D
square
#646151 #516457 #515464 #64515D
split-complementary
#646151 #515D64 #575164
monochromatic
#201F1A #424036 #646151 #86826C #A39F8D

Accessibility & contrast

On white

6.23
#646151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#646151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646151
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646151#FFFFFF#000000##FFFFFF
##6461511.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646050
Deuteranopia (green-blind)
#656152
Tritanopia (blue-blind)
#675F5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646151;
/* rgb */ color: rgb(100, 97, 81);
/* oklch */ color: oklch(49.1% 0.025 98.5);
Tailwind
colors: {
  custom: {
    50: '#908d81',
    500: '#646151',
    950: '#000000',
  },
}
SCSS
$custom: #646151;
$custom-light: #908d81;
$custom-dark: #000000;
JSON
{
  "hex": "#646151",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 81
  },
  "hsl": {
    "h": 50.526,
    "s": 10.497,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.0249,
    "h": 98.5
  },
  "luminance": 0.11853
}

Semantic roles & 50–950 ramp

primary
#646151
secondary
#808291
accent
#7EB374
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0C0A
muted
#7D7D7C

Preview Lab

Preview with #646151

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

Preview Lab → · Contrast checker → · Palette generator →

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