#646252#646252

#646252 is a mid, muted yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.025 H 101.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#646252
RGBrgb(100, 98, 82)
HSLhsl(53, 10%, 36%)
HSVhsv(53, 18%, 39%)
CMYKcmyk(0%, 2%, 18%, 60.8%)
CIE-LABlab(41.30, -2.25, 9.41)
CIE-LCHlch(41.30, 9.68, 103.47°)
OKLaboklab(49.32% -0.0049 0.0242)
OKLCHoklch(49.32% 0.025 101.4)
XYZxyz(11.1461, 12.0540, 9.7205)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646252 #525464
analogous
#645952 #646252 #5D6452
triadic
#646252 #526462 #625264
tetradic
#646252 #526459 #525464 #64525D
square
#646252 #526459 #525464 #64525D
split-complementary
#646252 #525D64 #595264
monochromatic
#21201B #424136 #646252 #86836E #A2A08E

Accessibility & contrast

On white

6.16
#646252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#646252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646252
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646252#FFFFFF#000000##FFFFFF
##6462521.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656151
Deuteranopia (green-blind)
#666253
Tritanopia (blue-blind)
#67605D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646252;
/* rgb */ color: rgb(100, 98, 82);
/* oklch */ color: oklch(49.3% 0.025 101.4);
Tailwind
colors: {
  custom: {
    50: '#908e82',
    500: '#646252',
    950: '#000000',
  },
}
SCSS
$custom: #646252;
$custom-light: #908e82;
$custom-dark: #000000;
JSON
{
  "hex": "#646252",
  "rgb": {
    "r": 100,
    "g": 98,
    "b": 82
  },
  "hsl": {
    "h": 53.333,
    "s": 9.89,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.02473,
    "h": 101.4
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #646252

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

Preview Lab → · Contrast checker → · Palette generator →

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