#646517#646517

#646517 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.1% C 0.097 H 110.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#646517
RGBrgb(100, 101, 23)
HSLhsl(61, 63%, 24%)
HSVhsv(61, 77%, 40%)
CMYKcmyk(1%, 0%, 77.2%, 60.4%)
CIE-LABlab(41.34, -10.61, 41.18)
CIE-LCHlch(41.34, 42.53, 104.45°)
OKLaboklab(49.07% -0.0335 0.0908)
OKLCHoklch(49.07% 0.097 110.2)
XYZxyz(10.0642, 12.0788, 2.6117)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646517 #181765
analogous
#653F17 #646517 #3D6517
triadic
#646517 #176465 #651764
tetradic
#646517 #17653F #181765 #65173D
square
#646517 #17653F #181765 #65173D
split-complementary
#646517 #173D65 #3F1765
monochromatic
#191906 #33330C #646517 #959722 #C7C92E

Accessibility & contrast

On white

6.15
#646517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#646517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646517
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646517#FFFFFF#000000##FFFFFF
##6465171.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6007
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#6B5E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646517;
/* rgb */ color: rgb(100, 101, 23);
/* oklch */ color: oklch(49.1% 0.097 110.2);
Tailwind
colors: {
  custom: {
    50: '#93905b',
    500: '#646517',
    950: '#000000',
  },
}
SCSS
$custom: #646517;
$custom-light: #93905b;
$custom-dark: #000000;
JSON
{
  "hex": "#646517",
  "rgb": {
    "r": 100,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 60.769,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.0968,
    "h": 110.2
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#646517
secondary
#3E3C9B
accent
#42E644
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646517

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

Preview Lab → · Contrast checker → · Palette generator →

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