#646416#646416

#646416 is a mid, moderate yellow. Relative luminance 0.119; OKLCH L 48.8% C 0.096 H 109.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#646416
RGBrgb(100, 100, 22)
HSLhsl(60, 64%, 24%)
HSVhsv(60, 78%, 39%)
CMYKcmyk(0%, 0%, 78%, 60.8%)
CIE-LABlab(41.03, -10.10, 41.27)
CIE-LCHlch(41.03, 42.49, 103.75°)
OKLaboklab(48.82% -0.0321 0.0908)
OKLCHoklch(48.82% 0.096 109.5)
XYZxyz(9.9579, 11.8819, 2.5278)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646416 #161664
analogous
#643D16 #646416 #3D6416
triadic
#646416 #166464 #641664
tetradic
#646416 #16643D #161664 #64163D
square
#646416 #16643D #161664 #64163D
split-complementary
#646416 #163D64 #3D1664
monochromatic
#191906 #32320B #646416 #969621 #C8C82C

Accessibility & contrast

On white

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

On black

3.38
#646416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##646416#FFFFFF#000000##FFFFFF
##6464161.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F06
Deuteranopia (green-blind)
#6E621C
Tritanopia (blue-blind)
#6C5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646416;
/* rgb */ color: rgb(100, 100, 22);
/* oklch */ color: oklch(48.8% 0.096 109.5);
Tailwind
colors: {
  custom: {
    50: '#938f5a',
    500: '#646416',
    950: '#000000',
  },
}
SCSS
$custom: #646416;
$custom-light: #938f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#646416",
  "rgb": {
    "r": 100,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.09633,
    "h": 109.5
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#646416
secondary
#3B3B9B
accent
#41E741
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646416

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

Preview Lab → · Contrast checker → · Palette generator →

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