#646C11#646C11

#646C11 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.108 H 114.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#646C11
RGBrgb(100, 108, 17)
HSLhsl(65, 73%, 25%)
HSVhsv(65, 84%, 42%)
CMYKcmyk(7.4%, 0%, 84.3%, 57.6%)
CIE-LABlab(43.47, -14.76, 45.19)
CIE-LCHlch(43.47, 47.54, 108.09°)
OKLaboklab(50.76% -0.0455 0.0982)
OKLCHoklch(50.76% 0.108 114.9)
XYZxyz(10.7196, 13.4751, 2.5665)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C11 #19116C
analogous
#6C4711 #646C11 #376C11
triadic
#646C11 #11646C #6C1164
tetradic
#646C11 #116C47 #19116C #6C1137
square
#646C11 #116C47 #19116C #6C1137
split-complementary
#646C11 #11376C #47116C
monochromatic
#181A04 #333709 #646C11 #95A119 #C6D622

Accessibility & contrast

On white

5.68
#646C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#646C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646C11
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646C11#FFFFFF#000000##FFFFFF
##646C111.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#74671A
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c11;
/* rgb */ color: rgb(100, 108, 17);
/* oklch */ color: oklch(50.8% 0.108 114.9);
Tailwind
colors: {
  custom: {
    50: '#939659',
    500: '#646c11',
    950: '#000000',
  },
}
SCSS
$custom: #646c11;
$custom-light: #939659;
$custom-dark: #000000;
JSON
{
  "hex": "#646c11",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 65.275,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.10822,
    "h": 114.9
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#646C11
secondary
#3F35A4
accent
#38EF48
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C11

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

Preview Lab → · Contrast checker → · Palette generator →

#646C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva