#646415#646415

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

Color values

HEX#646415
RGBrgb(100, 100, 21)
HSLhsl(60, 65%, 24%)
HSVhsv(60, 79%, 39%)
CMYKcmyk(0%, 0%, 79%, 60.8%)
CIE-LABlab(41.02, -10.15, 41.64)
CIE-LCHlch(41.02, 42.85, 103.70°)
OKLaboklab(48.81% -0.0324 0.0914)
OKLCHoklch(48.81% 0.097 109.5)
XYZxyz(9.9484, 11.8781, 2.4780)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646415 #151564
analogous
#643C15 #646415 #3C6415
triadic
#646415 #156464 #641564
tetradic
#646415 #15643C #151564 #64153C
square
#646415 #15643C #151564 #64153C
split-complementary
#646415 #153C64 #3C1564
monochromatic
#191905 #31310A #646415 #979720 #C9C92A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646415#FFFFFF#000000##FFFFFF
##6464151.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)
#6D5F04
Deuteranopia (green-blind)
#6E621B
Tritanopia (blue-blind)
#6C5D55
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #646415;
/* rgb */ color: rgb(100, 100, 21);
/* oklch */ color: oklch(48.8% 0.097 109.5);
Tailwind
colors: {
  custom: {
    50: '#938f5a',
    500: '#646415',
    950: '#000000',
  },
}
SCSS
$custom: #646415;
$custom-light: #938f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#646415",
  "rgb": {
    "r": 100,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.09695,
    "h": 109.5
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#646415
secondary
#3A3A9B
accent
#40E840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646415

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

Preview Lab → · Contrast checker → · Palette generator →

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