#646616#646616

#646616 is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.3% C 0.099 H 111.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#646616
RGBrgb(100, 102, 22)
HSLhsl(62, 65%, 24%)
HSVhsv(62, 78%, 40%)
CMYKcmyk(2%, 0%, 78.4%, 60%)
CIE-LABlab(41.64, -11.23, 41.85)
CIE-LCHlch(41.64, 43.33, 105.02°)
OKLaboklab(49.31% -0.0353 0.092)
OKLCHoklch(49.31% 0.099 111)
XYZxyz(10.1521, 12.2703, 2.5925)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646616 #181666
analogous
#664016 #646616 #3C6616
triadic
#646616 #166466 #661664
tetradic
#646616 #166640 #181666 #66163C
square
#646616 #166640 #181666 #66163C
split-complementary
#646616 #163C66 #401666
monochromatic
#191905 #33340B #646616 #959821 #C7CB2C

Accessibility & contrast

On white

6.08
#646616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#646616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646616
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646616#FFFFFF#000000##FFFFFF
##6466161.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6105
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#6B5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646616;
/* rgb */ color: rgb(100, 102, 22);
/* oklch */ color: oklch(49.3% 0.099 111.0);
Tailwind
colors: {
  custom: {
    50: '#93915a',
    500: '#646616',
    950: '#000000',
  },
}
SCSS
$custom: #646616;
$custom-light: #93915a;
$custom-dark: #000000;
JSON
{
  "hex": "#646616",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 61.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.09856,
    "h": 111
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#646616
secondary
#3E3B9D
accent
#40E844
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646616

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

Preview Lab → · Contrast checker → · Palette generator →

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