#646C16#646C16

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

Color values

HEX#646C16
RGBrgb(100, 108, 22)
HSLhsl(66, 66%, 25%)
HSVhsv(66, 80%, 42%)
CMYKcmyk(7.4%, 0%, 79.6%, 57.6%)
CIE-LABlab(43.50, -14.55, 43.57)
CIE-LCHlch(43.50, 45.94, 108.46°)
OKLaboklab(50.79% -0.0445 0.0957)
OKLCHoklch(50.79% 0.106 115)
XYZxyz(10.7632, 13.4926, 2.7962)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646C16 #1E166C
analogous
#6C4916 #646C16 #396C16
triadic
#646C16 #16646C #6C1664
tetradic
#646C16 #166C49 #1E166C #6C1639
square
#646C16 #166C49 #1E166C #6C1639
split-complementary
#646C16 #16396C #49166C
monochromatic
#181905 #35390C #646C16 #939F20 #C2D22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##646C16#FFFFFF#000000##FFFFFF
##646C161.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)
#746602
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #646c16;
/* rgb */ color: rgb(100, 108, 22);
/* oklch */ color: oklch(50.8% 0.106 115.0);
Tailwind
colors: {
  custom: {
    50: '#93965b',
    500: '#646c16',
    950: '#000000',
  },
}
SCSS
$custom: #646c16;
$custom-light: #93965b;
$custom-dark: #000000;
JSON
{
  "hex": "#646c16",
  "rgb": {
    "r": 100,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 65.581,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.10554,
    "h": 115
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#646C16
secondary
#453CA2
accent
#3FE94F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646C16

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

Preview Lab → · Contrast checker → · Palette generator →

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