#646916#646916

#646916 is a mid, moderate yellow. Relative luminance 0.129; OKLCH L 50.0% C 0.102 H 113.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#646916
RGBrgb(100, 105, 22)
HSLhsl(64, 65%, 25%)
HSVhsv(64, 79%, 41%)
CMYKcmyk(4.8%, 0%, 79%, 58.8%)
CIE-LABlab(42.57, -12.90, 42.71)
CIE-LCHlch(42.57, 44.62, 106.80°)
OKLaboklab(50.05% -0.0399 0.0939)
OKLCHoklch(50.05% 0.102 113.1)
XYZxyz(10.4523, 12.8706, 2.6926)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#646916 #1B1669
analogous
#694416 #646916 #3B6916
triadic
#646916 #166469 #691664
tetradic
#646916 #166944 #1B1669 #69163B
square
#646916 #166944 #1B1669 #69163B
split-complementary
#646916 #163B69 #441669
monochromatic
#181905 #34360B #646916 #949C21 #C4CE2B

Accessibility & contrast

On white

5.88
#646916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#646916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #646916
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##646916#FFFFFF#000000##FFFFFF
##6469161.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716404
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#6B6259
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #646916;
/* rgb */ color: rgb(100, 105, 22);
/* oklch */ color: oklch(50.0% 0.102 113.1);
Tailwind
colors: {
  custom: {
    50: '#93935b',
    500: '#646916',
    950: '#000000',
  },
}
SCSS
$custom: #646916;
$custom-light: #93935b;
$custom-dark: #000000;
JSON
{
  "hex": "#646916",
  "rgb": {
    "r": 100,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 63.614,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.102,
    "h": 113.1
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#646916
secondary
#413B9F
accent
#3FE84A
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #646916

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

Preview Lab → · Contrast checker → · Palette generator →

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