#646611#646611

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

Color values

HEX#646611
RGBrgb(100, 102, 17)
HSLhsl(61, 71%, 23%)
HSVhsv(61, 83%, 40%)
CMYKcmyk(2%, 0%, 83.3%, 60%)
CIE-LABlab(41.62, -11.45, 43.55)
CIE-LCHlch(41.62, 45.03, 104.73°)
OKLaboklab(49.28% -0.0364 0.0947)
OKLCHoklch(49.28% 0.101 111)
XYZxyz(10.1084, 12.2528, 2.3628)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646611 #131166
analogous
#663D11 #646611 #396611
triadic
#646611 #116466 #661164
tetradic
#646611 #11663D #131166 #661139
square
#646611 #11663D #131166 #661139
split-complementary
#646611 #113966 #3D1166
monochromatic
#1A1A04 #313208 #646611 #979A1A #CBCF22

Accessibility & contrast

On white

6.09
#646611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #646611
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646611#FFFFFF#000000##FFFFFF
##6466111.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#6C5F56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #646611;
/* rgb */ color: rgb(100, 102, 17);
/* oklch */ color: oklch(49.3% 0.101 111.0);
Tailwind
colors: {
  custom: {
    50: '#939158',
    500: '#646611',
    950: '#000000',
  },
}
SCSS
$custom: #646611;
$custom-light: #939158;
$custom-dark: #000000;
JSON
{
  "hex": "#646611",
  "rgb": {
    "r": 100,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 61.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.10141,
    "h": 111
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#646611
secondary
#37359E
accent
#3AEE3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #646611

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

Preview Lab → · Contrast checker → · Palette generator →

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