#646254#646254

#646254 is a mid, muted yellow. Relative luminance 0.121; OKLCH L 49.4% C 0.022 H 100.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#646254
RGBrgb(100, 98, 84)
HSLhsl(53, 9%, 36%)
HSVhsv(53, 16%, 39%)
CMYKcmyk(0%, 2%, 16%, 60.8%)
CIE-LABlab(41.35, -1.90, 8.26)
CIE-LCHlch(41.35, 8.48, 102.96°)
OKLaboklab(49.37% -0.0039 0.0214)
OKLCHoklch(49.37% 0.022 100.4)
XYZxyz(11.2233, 12.0849, 10.1272)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646254 #545664
analogous
#645A54 #646254 #5E6454
triadic
#646254 #546462 #625464
tetradic
#646254 #54645A #545664 #64545E
square
#646254 #54645A #545664 #64545E
split-complementary
#646254 #545E64 #5A5464
monochromatic
#21211C #434138 #646254 #858370 #A2A090

Accessibility & contrast

On white

6.15
#646254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#646254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646254
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646254#FFFFFF#000000##FFFFFF
##6462541.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656153
Deuteranopia (green-blind)
#666254
Tritanopia (blue-blind)
#67605E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646254;
/* rgb */ color: rgb(100, 98, 84);
/* oklch */ color: oklch(49.4% 0.022 100.4);
Tailwind
colors: {
  custom: {
    50: '#908e84',
    500: '#646254',
    950: '#000000',
  },
}
SCSS
$custom: #646254;
$custom-light: #908e84;
$custom-dark: #000000;
JSON
{
  "hex": "#646254",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 84
  },
  "hsl": {
    "h": 52.5,
    "s": 8.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.02173,
    "h": 100.4
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#646254
secondary
#838591
accent
#7EB276
background
#F8F8F8
surface
#F0F0EF
border
#CBCBCA
text
#0C0C0A
muted
#7D7D7C

Preview Lab

Preview with #646254

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

Preview Lab → · Contrast checker → · Palette generator →

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