#646617#646617

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

Color values

HEX#646617
RGBrgb(100, 102, 23)
HSLhsl(62, 63%, 25%)
HSVhsv(62, 77%, 40%)
CMYKcmyk(2%, 0%, 77.5%, 60%)
CIE-LABlab(41.65, -11.18, 41.48)
CIE-LCHlch(41.65, 42.96, 105.08°)
OKLaboklab(49.31% -0.035 0.0915)
OKLCHoklch(49.31% 0.098 111)
XYZxyz(10.1619, 12.2742, 2.6443)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646617 #191766
analogous
#664117 #646617 #3D6617
triadic
#646617 #176466 #661764
tetradic
#646617 #176641 #191766 #66173D
square
#646617 #176641 #191766 #66173D
split-complementary
#646617 #173D66 #411766
monochromatic
#181906 #33340C #646617 #959822 #C6CA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646617#FFFFFF#000000##FFFFFF
##6466171.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)
#6F6107
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#6B5F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646617;
/* rgb */ color: rgb(100, 102, 23);
/* oklch */ color: oklch(49.3% 0.098 111.0);
Tailwind
colors: {
  custom: {
    50: '#93915b',
    500: '#646617',
    950: '#000000',
  },
}
SCSS
$custom: #646617;
$custom-light: #93915b;
$custom-dark: #000000;
JSON
{
  "hex": "#646617",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 61.519,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49314,
    "c": 0.09794,
    "h": 111
  },
  "luminance": 0.12274
}

Semantic roles & 50–950 ramp

primary
#646617
secondary
#3F3C9C
accent
#42E646
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646617

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

Preview Lab → · Contrast checker → · Palette generator →

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