#646152#646152

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

Color values

HEX#646152
RGBrgb(100, 97, 82)
HSLhsl(50, 10%, 36%)
HSVhsv(50, 18%, 39%)
CMYKcmyk(0%, 3%, 18%, 60.8%)
CIE-LABlab(41.01, -1.66, 8.99)
CIE-LCHlch(41.01, 9.15, 100.46°)
OKLaboklab(49.09% -0.0032 0.0232)
OKLCHoklch(49.09% 0.023 97.8)
XYZxyz(11.0531, 11.8681, 9.6895)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646152 #525564
analogous
#645852 #646152 #5E6452
triadic
#646152 #526461 #615264
tetradic
#646152 #526458 #525564 #64525E
square
#646152 #526458 #525564 #64525E
split-complementary
#646152 #525E64 #585264
monochromatic
#21201B #424036 #646152 #86826E #A29F8E

Accessibility & contrast

On white

6.22
#646152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646152
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646152#FFFFFF#000000##FFFFFF
##6461521.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #646152;
/* rgb */ color: rgb(100, 97, 82);
/* oklch */ color: oklch(49.1% 0.023 97.8);
Tailwind
colors: {
  custom: {
    50: '#908d82',
    500: '#646152',
    950: '#000000',
  },
}
SCSS
$custom: #646152;
$custom-light: #908d82;
$custom-dark: #000000;
JSON
{
  "hex": "#646152",
  "rgb": {
    "r": 100,
    "g": 97,
    "b": 82
  },
  "hsl": {
    "h": 50,
    "s": 9.89,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49085,
    "c": 0.02342,
    "h": 97.8
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#646152
secondary
#818391
accent
#7FB375
background
#F8F8F7
surface
#F0F0EE
border
#CBCBC9
text
#0C0C0A
muted
#7D7D7C

Preview Lab

Preview with #646152

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

Preview Lab → · Contrast checker → · Palette generator →

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