#646B16#646B16

#646B16 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.5% C 0.104 H 114.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#646B16
RGBrgb(100, 107, 22)
HSLhsl(65, 66%, 25%)
HSVhsv(65, 79%, 42%)
CMYKcmyk(6.5%, 0%, 79.4%, 58%)
CIE-LABlab(43.19, -14.00, 43.29)
CIE-LCHlch(43.19, 45.49, 107.92°)
OKLaboklab(50.54% -0.043 0.0951)
OKLCHoklch(50.54% 0.104 114.3)
XYZxyz(10.6584, 13.2828, 2.7613)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646B16 #1D166B
analogous
#6B4716 #646B16 #3A6B16
triadic
#646B16 #16646B #6B1664
tetradic
#646B16 #166B47 #1D166B #6B163A
square
#646B16 #166B47 #1D166B #6B163A
split-complementary
#646B16 #163A6B #47166B
monochromatic
#181905 #35380C #646B16 #939E20 #C3D12B

Accessibility & contrast

On white

5.74
#646B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#646B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646B16
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646B16#FFFFFF#000000##FFFFFF
##646B161.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #646b16;
/* rgb */ color: rgb(100, 107, 22);
/* oklch */ color: oklch(50.5% 0.104 114.3);
Tailwind
colors: {
  custom: {
    50: '#93955b',
    500: '#646b16',
    950: '#000000',
  },
}
SCSS
$custom: #646b16;
$custom-light: #93955b;
$custom-dark: #000000;
JSON
{
  "hex": "#646b16",
  "rgb": {
    "r": 100,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 64.941,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.10435,
    "h": 114.3
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#646B16
secondary
#443BA1
accent
#3FE94D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646B16

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

Preview Lab → · Contrast checker → · Palette generator →

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