#646A16#646A16

#646A16 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.103 H 113.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#646A16
RGBrgb(100, 106, 22)
HSLhsl(64, 66%, 25%)
HSVhsv(64, 79%, 42%)
CMYKcmyk(5.7%, 0%, 79.2%, 58.4%)
CIE-LABlab(42.88, -13.45, 43.00)
CIE-LCHlch(42.88, 45.05, 107.37°)
OKLaboklab(50.3% -0.0415 0.0945)
OKLCHoklch(50.3% 0.103 113.7)
XYZxyz(10.5547, 13.0755, 2.7267)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646A16 #1C166A
analogous
#6A4616 #646A16 #3A6A16
triadic
#646A16 #16646A #6A1664
tetradic
#646A16 #166A46 #1C166A #6A163A
square
#646A16 #166A46 #1C166A #6A163A
split-complementary
#646A16 #163A6A #46166A
monochromatic
#181905 #34370B #646A16 #949D21 #C4CF2B

Accessibility & contrast

On white

5.81
#646A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#646A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646A16
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646A16#FFFFFF#000000##FFFFFF
##646A161.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726403
Deuteranopia (green-blind)
#72661D
Tritanopia (blue-blind)
#6B635A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #646a16;
/* rgb */ color: rgb(100, 106, 22);
/* oklch */ color: oklch(50.3% 0.103 113.7);
Tailwind
colors: {
  custom: {
    50: '#93945b',
    500: '#646a16',
    950: '#000000',
  },
}
SCSS
$custom: #646a16;
$custom-light: #93945b;
$custom-dark: #000000;
JSON
{
  "hex": "#646a16",
  "rgb": {
    "r": 100,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 64.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.10318,
    "h": 113.7
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#646A16
secondary
#433BA0
accent
#3FE94B
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646A16

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

Preview Lab → · Contrast checker → · Palette generator →

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